Openbravo Issue Tracking System - Retail Modules
View Issue Details
0037215Retail ModulesWeb POSpublic2017-11-02 15:062017-12-22 12:51
migueldejuana 
migueldejuana 
normalminoralways
closedfixed 
5
 
RR17Q4RR17Q4 
marvintm
No
0037215: 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.
blocks defect 0037210 closed migueldejuana All requests in Synchronize Mode do retry. Just transactional requests should do it. 
Issue History
2017-11-03 07:58migueldejuanaTypedefect => backport
2017-11-03 07:58migueldejuanaTarget Version => RR17Q4
2017-12-21 16:29hgbotCheckin
2017-12-21 16:29hgbotNote Added: 0101184
2017-12-21 16:29hgbotStatusscheduled => resolved
2017-12-21 16:29hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/421de0d299e92ff6a6b212da94c0b9489f3a3919 [^] => http://code.openbravo.com/retail/backports/3.0RR17Q4/org.openbravo.mobile.core/rev/b08734243b97156d573d748e861e56db1431b609 [^]
2017-12-22 12:51marvintmReview Assigned To => marvintm
2017-12-22 12:51marvintmStatusresolved => closed
2017-12-22 12:51marvintmFixed in Version => RR17Q4

Notes
(0101184)
hgbot   
2017-12-21 16:29   
Repository: retail/backports/3.0RR17Q4/org.openbravo.mobile.core
Changeset: b08734243b97156d573d748e861e56db1431b609
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Thu Dec 21 16:15:53 2017 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR17Q4/org.openbravo.mobile.core/rev/b08734243b97156d573d748e861e56db1431b609 [^]

Fixed issue 0037215: 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
---