Openbravo Issue Tracking System - Retail Modules
View Issue Details
0038211Retail ModulesWeb POSpublic2018-03-23 11:452018-03-26 12:17
migueldejuana 
migueldejuana 
normalminoralways
closedfixed 
5
 
RR18Q2 
marvintm
No
No
0038211: Handle properly errors from backend to show it in Log Client
Handle properly errors from backend to show it in Log Client
- Force an error in backend, for example in OrderLoader.java line 2177:

 if (posTerminal != null) {
      jsonResponse.put(JsonConstants.RESPONSE_STATUS, JsonConstants.RPCREQUEST_STATUS_FAILURE);
      jsonResponse.put(JsonConstants.RESPONSE_ERRORMESSAGE, "The POS terminal with id "
          + posTerminalId + " couldn't be found");
      return jsonResponse;
    }

- Enable Synchronize Mode
- Login webpos and create a sale
- ERROR! The shown error(popup and log client) has no info
No tags attached.
Issue History
2018-03-23 11:45migueldejuanaNew Issue
2018-03-23 11:45migueldejuanaAssigned To => migueldejuana
2018-03-23 11:45migueldejuanaOBNetwork customer => No
2018-03-23 11:45migueldejuanaTriggers an Emergency Pack => No
2018-03-26 10:20hgbotCheckin
2018-03-26 10:20hgbotNote Added: 0103492
2018-03-26 10:20hgbotStatusnew => resolved
2018-03-26 10:20hgbotResolutionopen => fixed
2018-03-26 10:20hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/101bc71537c1541c83fe46a07f21fcb1afa0592d [^]
2018-03-26 12:17marvintmReview Assigned To => marvintm
2018-03-26 12:17marvintmStatusresolved => closed
2018-03-26 12:17marvintmFixed in Version => RR18Q2

Notes
(0103492)
hgbot   
2018-03-26 10:20   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 101bc71537c1541c83fe46a07f21fcb1afa0592d
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Fri Mar 23 11:46:55 2018 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/101bc71537c1541c83fe46a07f21fcb1afa0592d [^]

Fixed issue 0038211: Handle properly errors from backend to show it in Log Client

- Handle properly errors generated by Servlets

---
M src/org/openbravo/mobile/core/process/DataSynchronizationProcess.java
---