Openbravo Issue Tracking System - Retail Modules
View Issue Details
0041131Retail ModulesWeb POSpublic2019-06-20 11:502019-07-10 17:45
samuel_nicuesa 
migueldejuana 
highmajoralways
closedfixed 
5
pi 
RR19Q3 
guilleaer
No
0041131: JS Resources are not updated after doing a deployment
JS Resources are not updated after doing a deployment, you are in the login window and login in the terminal
[POS]

- Login in one terminal

- Check the JS Generated

- Do log out and now you are in the login window

- Compile the application changing JS files

- Do login in the terminal

- Check the JS Generated and you will see that it has not been changed.
No tags attached.
depends on backport 0041158RR19Q2.1 closed migueldejuana JS Resources are not updated after doing a deployment 
depends on backport 0041159RR19Q1.2 closed migueldejuana JS Resources are not updated after doing a deployment 
has duplicate defect 0041120 closed Retail Ensure that js file exists before loading it 
diff 18Q3.diff (2,320) 2019-07-10 17:45
https://issues.openbravo.com/file_download.php?file_id=13100&type=bug
Issue History
2019-06-20 11:50samuel_nicuesaNew Issue
2019-06-20 11:50samuel_nicuesaAssigned To => Retail
2019-06-20 11:50samuel_nicuesaResolution time => 1562796000
2019-06-20 11:50samuel_nicuesaTriggers an Emergency Pack => No
2019-06-20 13:05Asantos9Issue Monitored: Asantos9
2019-06-24 07:56hgbotCheckin
2019-06-24 07:56hgbotNote Added: 0112953
2019-06-24 07:56hgbotStatusnew => resolved
2019-06-24 07:56hgbotResolutionopen => fixed
2019-06-24 07:56hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/b05b825fc7ef1dcc865160bfbee30da192c213e4 [^]
2019-06-24 08:01migueldejuanaNote Added: 0112955
2019-06-24 15:22migueldejuanaAssigned ToRetail => migueldejuana
2019-06-24 15:22migueldejuanaStatusresolved => new
2019-06-24 15:22migueldejuanaResolutionfixed => open
2019-06-24 15:22migueldejuanaStatusnew => scheduled
2019-06-24 15:22migueldejuanaStatusscheduled => resolved
2019-06-24 15:22migueldejuanaResolutionopen => fixed
2019-06-24 15:24migueldejuanaRelationship addedhas duplicate 0041120
2019-06-27 17:38guilleaerReview Assigned To => guilleaer
2019-06-27 17:38guilleaerStatusresolved => closed
2019-06-27 17:38guilleaerFixed in Version => RR19Q3
2019-07-10 17:45migueldejuanaFile Added: 18Q3.diff

Notes
(0112953)
hgbot   
2019-06-24 07:56   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: b05b825fc7ef1dcc865160bfbee30da192c213e4
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Mon Jun 24 07:53:55 2019 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/b05b825fc7ef1dcc865160bfbee30da192c213e4 [^]

Fixed issue 0041131: JS Resources are not updated after doing a deployment

- When login, if we see differences in source version, force to reload resources

---
M web/org.openbravo.mobile.core/source/utils/ob-utilities.js
---
(0112955)
migueldejuana   
2019-06-24 08:01   
It is happening since 18Q3 where Service Workers was introduced. We covered 2 cases but the steps to reproduce is not covered. If the terminal is logged or if the browser is not opened when the update is done, it will work fine.