Openbravo Issue Tracking System - Openbravo ERP |
| View Issue Details |
|
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0032429 | Openbravo ERP | A. Platform | public | 2016-03-07 18:33 | 2016-03-17 10:56 |
|
| Reporter | ngarcia | |
| Assigned To | caristu | |
| Priority | high | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | |
| Platform | | OS | 5 | OS Version | |
| Product Version | | |
| Target Version | | Fixed in Version | 3.0PR16Q2 | |
| Merge Request Status | |
| Review Assigned To | alostale |
| OBNetwork customer | No |
| Web browser | |
| Modules | Core |
| Support ticket | 41002 |
| Regression level | |
| Regression date | |
| Regression introduced in release | |
| Regression introduced by commit | |
| Triggers an Emergency Pack | No |
|
| Summary | 0032429: Add error log in the remove function of DefaultJsonDataService class |
| Description | Add error log in the remove function of DefaultJsonDataService class. Currently the following error is shown in the application if an error is raised during the deleting of a record (for example: NullPointerException in an eventhandler):
Server returned FAILURE with no error message
and the log shows no error |
| Steps To Reproduce | * |
| Proposed Solution | Add the log.error(t.getMessage(), t); sentence in the catch section of the remove function:
} catch (Throwable t) {
log.error(t.getMessage(), t);
return JsonUtils.convertExceptionToJson(t);
} |
| Additional Information | |
| Tags | No tags attached. |
| Relationships | |
| Attached Files | |
|
| Issue History |
| Date Modified | Username | Field | Change |
| 2016-03-07 18:33 | ngarcia | New Issue | |
| 2016-03-07 18:33 | ngarcia | Assigned To | => platform |
| 2016-03-07 18:33 | ngarcia | OBNetwork customer | => No |
| 2016-03-07 18:33 | ngarcia | Modules | => Core |
| 2016-03-07 18:33 | ngarcia | Support ticket | => 41002 |
| 2016-03-07 18:33 | ngarcia | Triggers an Emergency Pack | => No |
| 2016-03-07 18:44 | ngarcia | Issue Monitored: networkb | |
| 2016-03-07 19:18 | caristu | Assigned To | platform => caristu |
| 2016-03-07 19:19 | hgbot | Checkin | |
| 2016-03-07 19:19 | hgbot | Note Added: 0084792 | |
| 2016-03-07 19:19 | hgbot | Status | new => resolved |
| 2016-03-07 19:19 | hgbot | Resolution | open => fixed |
| 2016-03-07 19:19 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/c89d61d6ab14a51b3ea8dff0dfaf2c51bd4a9ee4 [^] |
| 2016-03-07 19:20 | caristu | Review Assigned To | => alostale |
| 2016-03-08 09:02 | alostale | Note Added: 0084803 | |
| 2016-03-08 09:02 | alostale | Status | resolved => new |
| 2016-03-08 09:02 | alostale | Resolution | fixed => open |
| 2016-03-08 09:37 | caristu | Issue Monitored: alostale | |
| 2016-03-08 09:38 | hgbot | Checkin | |
| 2016-03-08 09:38 | hgbot | Note Added: 0084807 | |
| 2016-03-08 09:38 | caristu | Status | new => scheduled |
| 2016-03-08 09:38 | caristu | Status | scheduled => resolved |
| 2016-03-08 09:38 | caristu | Resolution | open => fixed |
| 2016-03-11 08:24 | alostale | Note Added: 0084897 | |
| 2016-03-11 08:24 | alostale | Status | resolved => closed |
| 2016-03-11 08:24 | alostale | Fixed in Version | => 3.0PR16Q2 |
| 2016-03-17 10:56 | hudsonbot | Checkin | |
| 2016-03-17 10:56 | hudsonbot | Note Added: 0085187 | |
| 2016-03-17 10:56 | hudsonbot | Checkin | |
| 2016-03-17 10:56 | hudsonbot | Note Added: 0085190 | |
|
Notes |
|
|
(0084792)
|
|
hgbot
|
|
2016-03-07 19:19
|
|
Repository: erp/devel/pi
Changeset: c89d61d6ab14a51b3ea8dff0dfaf2c51bd4a9ee4
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Mon Mar 07 19:15:00 2016 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/c89d61d6ab14a51b3ea8dff0dfaf2c51bd4a9ee4 [^]
fixes issue 32429: Added error log in remove method of DefaultJsonDataService
---
M modules/org.openbravo.service.json/src/org/openbravo/service/json/DefaultJsonDataService.java
---
|
|
|
|
|
reopening after code review because:
1. if condition is unnecessary overcomplicated
2. log should add some context |
|
|
|
(0084807)
|
|
hgbot
|
|
2016-03-08 09:38
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|