Openbravo Issue Tracking System - Retail Modules
View Issue Details
0031543Retail ModulesWeb POSpublic2015-11-20 10:382015-12-04 16:23
mtaal 
mtaal 
normalminorhave not tried
closedfixed 
5
 
RR16Q1RR16Q1 
marvintm
No
0031543: Log the next exception in case of BatchUpdateException
The java sql BatchUpdateException does not print its causing exception when printing the stack trace. This hides important trace information in case of exception.

In the ERP core changes are made to show log the underlying cause also in case of a batchupdatexception.

This feature request is to do the same in retail.
See related issue.
Use the generic utility to log/get the underlying exception when logging
No tags attached.
related to defect 00308133.0PR16Q1 closed caristu Openbravo ERP Show content of batch exception when it happens in requestfilter commitandclose 
Issue History
2015-11-20 10:38mtaalNew Issue
2015-11-20 10:38mtaalAssigned To => Retail
2015-11-20 10:38mtaalTriggers an Emergency Pack => No
2015-11-20 10:38mtaalRelationship addedrelated to 0030813
2015-11-20 10:39mtaalReview Assigned To => marvintm
2015-11-20 10:39mtaalAssigned ToRetail => mtaal
2015-11-20 10:39mtaalStatusnew => scheduled
2015-11-20 10:39mtaalTarget Version => RR16Q1
2015-11-22 15:49hgbotCheckin
2015-11-22 15:49hgbotNote Added: 0082046
2015-11-22 15:49hgbotStatusscheduled => resolved
2015-11-22 15:49hgbotResolutionopen => fixed
2015-11-22 15:49hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/e270a80fc23d092d308ca863c69932597e8123d7 [^]
2015-12-04 16:23marvintmStatusresolved => closed
2015-12-04 16:23marvintmFixed in Version => RR16Q1

Notes
(0082046)
hgbot   
2015-11-22 15:49   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: e270a80fc23d092d308ca863c69932597e8123d7
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Fri Nov 20 18:12:38 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/e270a80fc23d092d308ca863c69932597e8123d7 [^]

Fixes issue 31543: Log the next exception in case of BatchUpdateException
Make use of DbUtility.getUnderlyingException where relevant

---
M src/org/openbravo/mobile/core/process/DataSynchronizationErrorHandler.java
M src/org/openbravo/mobile/core/process/JSONRowConverter.java
M src/org/openbravo/mobile/core/process/WebServiceAbstractServlet.java
M src/org/openbravo/mobile/core/process/WebServiceAuthenticatedServlet.java
---