Openbravo Issue Tracking System - Retail Modules
View Issue Details
0041860Retail ModulesWeb POSpublic2019-09-20 10:012019-10-09 08:55
marvintm 
marvintm 
urgentmajoralways
closedfixed 
5
 
RR19Q4 
guilleaer
No
0041860: Etag is not correctly calculated in ClientModel component
Currently eTag in ClientModel component is based on the module versions. This means that if a changeset of the WebPOS or other mobile applications is deployed and the version of the modules is not changed, the ClientModel will not be recalculated.
Deploy a change in the WebPOS which doesn't change any module versions, but changes the discounts model. Realise that the model is not refreshed in the WebPOS
The eTag can be based on a random number or timestamp, as normally the model is cached in the client using ServiceWorkers.
No tags attached.
related to defect 0043167 closed gorka_gil Dependencies of webpos are cached when it shouldn't 
Issue History
2019-09-20 10:01marvintmNew Issue
2019-09-20 10:01marvintmAssigned To => marvintm
2019-09-20 10:01marvintmTriggers an Emergency Pack => No
2019-09-20 10:03hgbotCheckin
2019-09-20 10:03hgbotNote Added: 0114684
2019-09-20 10:03hgbotStatusnew => resolved
2019-09-20 10:03hgbotResolutionopen => fixed
2019-09-20 10:03hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/4b83abfb62ef8babcbfdd601230d02c644e6065d [^]
2019-09-23 19:15guilleaerReview Assigned To => guilleaer
2019-09-23 19:15guilleaerStatusresolved => closed
2019-10-08 17:43hgbotCheckin
2019-10-08 17:43hgbotNote Added: 0114965
2019-10-08 17:43hgbotStatusclosed => resolved
2019-10-08 17:43hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/4b83abfb62ef8babcbfdd601230d02c644e6065d [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/c4ec46ca7fc74dec6ddfc1b002fd952ef755a287 [^]
2019-10-09 08:55marvintmStatusresolved => closed
2019-10-09 08:55marvintmFixed in Version => RR19Q4
2020-02-10 17:11gorka_gilRelationship addedrelated to 0043167

Notes
(0114684)
hgbot   
2019-09-20 10:03   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 4b83abfb62ef8babcbfdd601230d02c644e6065d
Author: Antonio Moreno Perez <antonio.moreno <at> openbravo.com>
Date: Fri Sep 20 10:02:01 2019 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/4b83abfb62ef8babcbfdd601230d02c644e6065d [^]

Fixed issue 41860. ClientModel etag can be a timestamp, as it is cached in the client normally, but when the sources change we want it to be refreshed always.

---
M src/org/openbravo/mobile/core/model/ClientModelComponent.java
---
(0114965)
hgbot   
2019-10-08 17:43   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: c4ec46ca7fc74dec6ddfc1b002fd952ef755a287
Author: Antonio Moreno Perez <antonio.moreno <at> openbravo.com>
Date: Fri Sep 20 10:02:01 2019 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/c4ec46ca7fc74dec6ddfc1b002fd952ef755a287 [^]

Fixed issue 41860. ClientModel etag can be a timestamp, as it is cached in the client normally, but when the sources change we want it to be refreshed always.

---
M src/org/openbravo/mobile/core/model/ClientModelComponent.java
---