Openbravo Issue Tracking System - Retail Modules
View Issue Details
0037210Retail ModulesWeb POSpublic2017-11-02 15:062017-11-07 17:32
migueldejuana 
migueldejuana 
normalminoralways
closedfixed 
5
 
RR18Q1 
marvintm
No
0037210: All requests in Synchronize Mode do retry. Just transactional requests should do it.
All requests in Synchronize Mode do retry. Just transactional requests should do it.

Since the change done for Synchronize Mode where we wait and retry forever till the Order/Customer is processed, we also do the same for the rest of requests(Search for a Receipt, Search a product...) and we should do that. If a "Search" request responses a timeout, we should stop and give an error as we used to do before the mentioned change.
- Put a breakpoint in PaidReceiptHeader.java
- Login in Web POS
- Select in the menu "Receipt"
- Wait until timeout happens
- Error! No message is shown and still retrying.
No tags attached.
depends on backport 0037215RR17Q4 closed migueldejuana All requests in Synchronize Mode do retry. Just transactional requests should do it. 
caused by defect 0036790 closed migueldejuana Synchronized mode has problems when the request to the backend reaches timeout 
Issue History
2017-11-02 15:06migueldejuanaNew Issue
2017-11-02 15:06migueldejuanaAssigned To => migueldejuana
2017-11-02 15:06migueldejuanaTriggers an Emergency Pack => No
2017-11-02 15:12migueldejuanaRelationship addedcaused by 0036790
2017-11-03 07:57hgbotCheckin
2017-11-03 07:57hgbotNote Added: 0100236
2017-11-03 07:57hgbotStatusnew => resolved
2017-11-03 07:57hgbotResolutionopen => fixed
2017-11-03 07:57hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/421de0d299e92ff6a6b212da94c0b9489f3a3919 [^]
2017-11-03 07:58migueldejuanaStatusresolved => scheduled
2017-11-03 08:03migueldejuanaStatusscheduled => resolved
2017-11-07 17:32marvintmReview Assigned To => marvintm
2017-11-07 17:32marvintmStatusresolved => closed
2017-11-07 17:32marvintmFixed in Version => RR18Q1

Notes
(0100236)
hgbot   
2017-11-03 07:57   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 421de0d299e92ff6a6b212da94c0b9489f3a3919
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Thu Nov 02 15:13:20 2017 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/421de0d299e92ff6a6b212da94c0b9489f3a3919 [^]

Fixed issue 0037210: All requests in Synchronize Mode do retry. Just transactional requests should do it.

- Just retry when the request is to send/save data

---
M web/org.openbravo.mobile.core/source/data/ob-datasource.js
M web/org.openbravo.mobile.core/source/data/ob-requestrouter.js
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---