Openbravo Issue Tracking System - Retail Modules
View Issue Details
0043479Retail ModulesWeb POSpublic2020-03-11 18:342021-10-01 07:48
joniturralde93 
ranjith_qualiantech_com 
urgentcriticalalways
closedfixed 
5
 
RR20Q3 
marvintm
No
0043479: It is possible to generate a cache for mobile applications with no service workers
It is possible to generate a cache for mobile applications with no service workers
0. Clear cache and cache storages from chrome
1. Web POS (VBS-1) and AWO frontend opened in the same chrome profile/window -> Check that only "WebPOS" cache storage is generated when loading Web POS login page, due to service workers.
2. Login AWO openbravo user
3. F5 ins Web POS (not allowed to log in: There was an error loading the POS Terminal. The POS terminal was not found.) -> OK -> Automatic logout
4. Without changing tab, login as vallblanca user in POS
5. F5 awo -> The application has been updated. The application has been updated, and a refresh of the browser needs to be done. Please click on the OK button and this will be done automatically. -> OK (maybe need to F5 again after this so the vallblanca session is active in AWO and you are logged in)
6. OBAWO generated in Cache Storage
Updated: It would be nice to avoid cache generation for mobile applications with no service workers in general, not only with this flow, since backoffice can have problems when trying to use one cache or another.
No tags attached.
patch issue 43479 source mobilecore.patch (1,167) 2020-04-01 09:50
https://issues.openbravo.com/file_download.php?file_id=14247&type=bug
Issue History
2020-03-11 18:34joniturralde93New Issue
2020-03-11 18:34joniturralde93Assigned To => Retail
2020-03-11 18:34joniturralde93Resolution time => 1585692000
2020-03-11 18:34joniturralde93Triggers an Emergency Pack => No
2020-03-11 19:13PracticsIssue Monitored: Practics
2020-03-24 10:03joniturralde93Proposed Solution updated
2020-03-31 08:41ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2020-04-01 07:08ranjith_qualiantech_comStatusnew => scheduled
2020-04-01 09:50ranjith_qualiantech_comFile Added: issue 43479 source mobilecore.patch
2020-04-08 13:47hgbotCheckin
2020-04-08 13:47hgbotNote Added: 0119102
2020-04-08 13:47hgbotStatusscheduled => resolved
2020-04-08 13:47hgbotResolutionopen => fixed
2020-04-08 13:47hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/26dbe6d3624c60248e58d3f3b1d7fe67eb59d1f7 [^]
2020-04-16 18:57marvintmReview Assigned To => marvintm
2020-04-16 18:57marvintmStatusresolved => closed
2020-04-16 18:57marvintmFixed in Version => RR20Q3
2021-10-01 07:48marvintmSeveritymajor => critical

Notes
(0119102)
hgbot   
2020-04-08 13:47   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 26dbe6d3624c60248e58d3f3b1d7fe67eb59d1f7
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Wed Apr 08 17:17:14 2020 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/26dbe6d3624c60248e58d3f3b1d7fe67eb59d1f7 [^]

Fixed issue-43479 : Added ServiceWorker validation while fetching resources

* Cache should not be generated if ServiceWorker is not available

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