Openbravo Issue Tracking System - Retail Modules
View Issue Details
0043285Retail ModulesWeb POSpublic2020-02-20 13:042020-02-25 10:13
Leyre 
ranjith_qualiantech_com 
urgentmajoralways
closedfixed 
5
 
RR20Q1 
migueldejuana
No
0043285: 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.
blocks 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. 
Issue History
2020-02-20 15:57marvintmTypedefect => backport
2020-02-20 15:57marvintmTarget Version => RR20Q1
2020-02-20 17:02ngarciaResolution time1552345200 => 1583967600
2020-02-24 12:36hgbotCheckin
2020-02-24 12:36hgbotNote Added: 0118051
2020-02-24 12:36hgbotStatusscheduled => resolved
2020-02-24 12:36hgbotResolutionopen => fixed
2020-02-24 12:36hgbotFixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR20Q1/org.openbravo.retail.posterminal/rev/8763024d00969572430d3692c601d356df2ff470 [^]
2020-02-25 10:13migueldejuanaReview Assigned To => migueldejuana
2020-02-25 10:13migueldejuanaNote Added: 0118086
2020-02-25 10:13migueldejuanaStatusresolved => closed

Notes
(0118051)
hgbot   
2020-02-24 12:36   
Repository: retail/backports/3.0RR20Q1/org.openbravo.retail.posterminal
Changeset: 8763024d00969572430d3692c601d356df2ff470
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Mon Feb 24 17:05:52 2020 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR20Q1/org.openbravo.retail.posterminal/rev/8763024d00969572430d3692c601d356df2ff470 [^]

Fixed issue 43285 : 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
---
(0118086)
migueldejuana   
2020-02-25 10:13   
Tested and reviewed