Openbravo Issue Tracking System - Retail Modules
View Issue Details
0043280Retail ModulesWeb POSpublic2020-02-20 13:042020-02-24 11:18
Leyre 
ranjith_qualiantech_com 
urgentcriticalalways
closedfixed 
5
 
 
migueldejuana
No
0043280: It is not possible to log into WebPOS, if we remove the static resource .js from Cache Storage and compile with any OB update.
It is not possible to log into WebPOS, if we remove the static resource .js from Cache Storage and compile with any OB update.
1. Open a POS Terminal without errors.
2. Stop Tomcat
3. Make a change in any .js file (without generating errors when loading errors).
4. ant compile.complete.deploy
5. In the Previous POS Terminal, open the console browser -> Application -> Cache Storage. Search for the .js and delete it. See attached image step5.png.
6. When the compilation is finished, refresh the projects in Eclipse and start the Tomcat.
7. F5 in the Web POS -> Verify that there is an error
1) Delete the Cache Storage -> see attached image cache.png
2) F5 in the POS Terminal
No tags attached.
related to defect 0041671 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 
depends on backport 0043285RR20Q1 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. 
depends on backport 0043286RR19Q4.3 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. 
depends on backport 0043287RR19Q3.3 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. 
png cache.png (127,662) 2020-02-20 13:04
https://issues.openbravo.com/file_download.php?file_id=14070&type=bug
png

png step5.png (255,620) 2020-02-20 13:04
https://issues.openbravo.com/file_download.php?file_id=14071&type=bug
png

diff issue43280.diff (1,103) 2020-02-20 13:17
https://issues.openbravo.com/file_download.php?file_id=14072&type=bug
Issue History
2020-02-20 13:04LeyreNew Issue
2020-02-20 13:04LeyreAssigned To => Retail
2020-02-20 13:04LeyreFile Added: cache.png
2020-02-20 13:04LeyreResolution time => 1552345200
2020-02-20 13:04LeyreTriggers an Emergency Pack => No
2020-02-20 13:04LeyreFile Added: step5.png
2020-02-20 13:08LeyreRelationship addedrelated to 0041671
2020-02-20 13:17marvintmFile Added: issue43280.diff
2020-02-20 15:22ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2020-02-20 15:57marvintmStatusnew => scheduled
2020-02-20 15:57marvintmSeveritymajor => critical
2020-02-20 16:58ngarciaIssue Monitored: ngarcia
2020-02-20 16:59ngarciaResolution time1552345200 => 1583967600
2020-02-24 06:40hgbotCheckin
2020-02-24 06:40hgbotNote Added: 0118038
2020-02-24 06:40hgbotStatusscheduled => resolved
2020-02-24 06:40hgbotResolutionopen => fixed
2020-02-24 06:40hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/dd10385fd140589cd440cb1279071158419e42d9 [^]
2020-02-24 11:18migueldejuanaReview Assigned To => migueldejuana
2020-02-24 11:18migueldejuanaNote Added: 0118042
2020-02-24 11:18migueldejuanaStatusresolved => closed

Notes
(0118038)
hgbot   
2020-02-24 06:40   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: dd10385fd140589cd440cb1279071158419e42d9
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Mon Feb 24 11:10:34 2020 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/dd10385fd140589cd440cb1279071158419e42d9 [^]

Fixed issue 43280 : POS will be reloaded when resource is not available in Cache

* When cache resource are not available, cache should be deleted and fetched again
* LocalStorage SourceVersion should be removed
  because localstorage SourceVersion is validated with Backoffice SourceVersion

---
M web/org.openbravo.retail.posterminal/index.jsp
---
(0118042)
migueldejuana   
2020-02-24 11:18   
Tested and reviewed