Openbravo Issue Tracking System - Retail Modules
View Issue Details
0041671Retail ModulesWeb POSpublic2019-08-21 13:402020-02-19 14:17
jorgewederago 
ranjith_qualiantech_com 
highcriticalunable to reproduce
closedfixed 
5
 
RR19Q4 
marvintm
No
0041671: It is not possible to log into WebPOS if the .js is removed from the cache and a new .js is generated in the server
It is not possible to log into WebPOS if the .js is removed from the cache and a new .js is generated in the server
1.-In a local environment load WebPOS (not in developer's mode)
2.-Open Chrome Developer Tools
3.-Go to Application Tab
4.-Open Cache Storage > WebPOS
5.-Look for the .js containing the APP
6.-Remove it from the Cache
7.-Do some changes in your local environment and compile to generate a new .js
8.-Try to load WebPOS
No tags attached.
depends on backport 0043266RR19Q3.3 closed ranjith_qualiantech_com It is not possible to log into WebPOS if the .js is removed from the cache and a new .js is generated in the server 
related to defect 0043280 closed ranjith_qualiantech_com It is not possible to log into WebPOS, if we remove the static resource .js from Cache Storage and compile with any OB update. 
patch issue 41671 source mobilecore.patch (3,969) 2019-09-04 13:25
https://issues.openbravo.com/file_download.php?file_id=13284&type=bug
Issue History
2019-08-21 13:40jorgewederagoNew Issue
2019-08-21 13:40jorgewederagoAssigned To => Retail
2019-08-21 13:40jorgewederagoResolution time => 1568152800
2019-08-21 13:40jorgewederagoTriggers an Emergency Pack => No
2019-08-28 11:31malsasuaNote Added: 0114293
2019-08-29 15:35ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2019-09-04 13:25ranjith_qualiantech_comFile Added: issue 41671 source mobilecore.patch
2019-09-04 15:10ranjith_qualiantech_comStatusnew => scheduled
2019-09-10 09:35malsasuaIssue Monitored: malsasua
2019-09-11 12:58hgbotCheckin
2019-09-11 12:58hgbotNote Added: 0114522
2019-09-11 15:25marvintmStatusscheduled => resolved
2019-09-11 15:25marvintmFixed in Version => RR19Q4
2019-09-11 15:25marvintmResolutionopen => fixed
2019-09-12 10:11marvintmReview Assigned To => marvintm
2019-09-12 10:11marvintmStatusresolved => closed
2019-09-24 07:19ranjith_qualiantech_comNote Added: 0114742
2019-09-24 07:19ranjith_qualiantech_comStatusclosed => new
2019-09-24 07:19ranjith_qualiantech_comResolutionfixed => open
2019-09-24 07:19ranjith_qualiantech_comFixed in VersionRR19Q4 =>
2019-09-24 07:19ranjith_qualiantech_comStatusnew => scheduled
2019-09-24 15:02hgbotCheckin
2019-09-24 15:02hgbotNote Added: 0114763
2019-09-24 15:02hgbotStatusscheduled => resolved
2019-09-24 15:02hgbotResolutionopen => fixed
2019-09-24 15:02hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/804294e1be559db95a32b3e2b93c042906ecf9f3 [^]
2019-09-26 18:31marvintmStatusresolved => closed
2019-09-26 18:31marvintmFixed in Version => RR19Q4
2019-09-27 12:52hgbotCheckin
2019-09-27 12:52hgbotNote Added: 0114840
2019-09-27 12:52hgbotStatusclosed => resolved
2019-09-27 12:52hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/804294e1be559db95a32b3e2b93c042906ecf9f3 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/92b2ef88b12035efe307806a538ec27124719b57 [^]
2019-09-27 13:27marvintmStatusresolved => closed
2020-02-19 14:10marvintmSeveritymajor => critical
2020-02-19 14:17marvintmStatusclosed => new
2020-02-19 14:17marvintmResolutionfixed => open
2020-02-19 14:17marvintmFixed in VersionRR19Q4 =>
2020-02-19 14:17marvintmStatusnew => scheduled
2020-02-19 14:17marvintmStatusscheduled => resolved
2020-02-19 14:17marvintmResolutionopen => fixed
2020-02-19 14:17marvintmStatusresolved => closed
2020-02-19 14:17marvintmFixed in Version => RR19Q4
2020-02-20 13:08LeyreRelationship addedrelated to 0043280

Notes
(0114293)
malsasua   
2019-08-28 11:31   
When the JS file has been deleted from terminal, and the new JS file has been generated and the previously JS file is not available, in Terminal the WebSQL local database is deleted
(0114522)
hgbot   
2019-09-11 12:58   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 35e6a15e9917a020dbb01bd69daf590804a4cd57
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Wed Sep 11 16:28:30 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/35e6a15e9917a020dbb01bd69daf590804a4cd57 [^]

Related to issue 41671 : Reloading All Cache files if anyone is missing in Cache

* When loading POS, if old and new manifest are same, manifest files should exist in chrome cache.
  If it is not exists, all Cache files should be reload again from the server

---
M web/org.openbravo.mobile.core/source/offline/ob-fetch-manifest.js
M web/org.openbravo.mobile.core/source/offline/ob-sources-sw.js
---
(0114742)
ranjith_qualiantech_com   
2019-09-24 07:19   
Resources are not loaded properly whe F5 is pressed
(0114763)
hgbot   
2019-09-24 15:02   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 804294e1be559db95a32b3e2b93c042906ecf9f3
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Sep 24 18:32:17 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/804294e1be559db95a32b3e2b93c042906ecf9f3 [^]

Fixed issue 41671 : Manifest should be retained when validating cache

---
M web/org.openbravo.mobile.core/source/offline/ob-fetch-manifest.js
---
(0114840)
hgbot   
2019-09-27 12:52   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 92b2ef88b12035efe307806a538ec27124719b57
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Fri Sep 27 16:22:09 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/92b2ef88b12035efe307806a538ec27124719b57 [^]

Fixed issue 41671 : Main Window should be rendered when ServiceController is not activated

* When user refresh POS with Shift + Refresh, ServiceController will not be initiated and activated.
  But Cache Validation will be initiated due to New Manifest and Old Manifest are same.
  So, Main window should be rendered by calling the callback
  when ServiceController is not activated and Cache Validation is enabled

---
M web/org.openbravo.mobile.core/source/offline/ob-fetch-manifest.js
---