Openbravo Issue Tracking System - Retail Modules
View Issue Details
0038602Retail ModulesWeb POSpublic2018-05-23 10:122018-12-04 11:32
Leyre 
migueldejuana 
normalmajoralways
closedfixed 
5
 
RR18Q3 
marvintm
No
0038602: POS does not load xml changes
If a modification of a template of a Web Pos ticket is made, the POS Terminals are not loading the change, unless the cache is deleted.
1.- Do a modification in a template.

2.- Refresh POS Terminal.

3.- Verified that the changes are not loading in the POS Terminal.
No tags attached.
related to defect 0038501 closed marvintm WebPOS is not automatically loading new resources added to the css until a clear cache is done 
diff forceNoCacheTemplates_posterminal.diff (2,596) 2018-06-05 17:20
https://issues.openbravo.com/file_download.php?file_id=11829&type=bug
diff forceNoCacheTemplates_mobilecore.diff (567) 2018-06-05 17:21
https://issues.openbravo.com/file_download.php?file_id=11830&type=bug
diff mobilecore17Q2.diff (1,677) 2018-11-27 17:19
https://issues.openbravo.com/file_download.php?file_id=12392&type=bug
diff posterminal17Q2.diff (8,307) 2018-11-27 17:20
https://issues.openbravo.com/file_download.php?file_id=12393&type=bug
diff fixDoubleQuotes_posterminal17Q2.diff (702) 2018-12-04 11:32
https://issues.openbravo.com/file_download.php?file_id=12410&type=bug
Issue History
2018-05-23 10:12LeyreNew Issue
2018-05-23 10:12LeyreAssigned To => Retail
2018-05-23 10:12LeyreTriggers an Emergency Pack => No
2018-05-24 10:19jfrancesIssue Monitored: jfrances
2018-06-04 12:03jorgewederagoIssue Monitored: jorgewederago
2018-06-04 12:26marvintmResolution time => 1529359200
2018-06-04 12:39umartirenaIssue Monitored: umartirena
2018-06-05 08:53marvintmTypedesign defect => defect
2018-06-05 17:20marvintmFile Added: forceNoCacheTemplates_posterminal.diff
2018-06-05 17:21marvintmFile Added: forceNoCacheTemplates_mobilecore.diff
2018-06-06 00:05rqueraltaAssigned ToRetail => rqueralta
2018-06-06 00:06rqueraltaStatusnew => scheduled
2018-06-07 12:19marvintmRelationship addedrelated to 0038501
2018-06-07 12:21marvintmAssigned Torqueralta => migueldejuana
2018-06-20 09:24hgbotCheckin
2018-06-20 09:24hgbotNote Added: 0105271
2018-06-20 09:24hgbotStatusscheduled => resolved
2018-06-20 09:24hgbotResolutionopen => fixed
2018-06-20 09:24hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/299990cbdde2bce33bf8e19715a5699b7ae1f936 [^]
2018-06-20 09:27hgbotCheckin
2018-06-20 09:27hgbotNote Added: 0105272
2018-06-20 09:27hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/299990cbdde2bce33bf8e19715a5699b7ae1f936 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/1a032bcca0e092ed73494d39900767deeab762db [^]
2018-06-20 16:53matias-bernalIssue Monitored: matias-bernal
2018-06-21 09:15hgbotCheckin
2018-06-21 09:15hgbotNote Added: 0105293
2018-06-21 09:15hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/1a032bcca0e092ed73494d39900767deeab762db [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/d9fbeeeffa4e56d8a69af4f0b1f2b02c9bd52e3f [^]
2018-06-21 16:24hgbotCheckin
2018-06-21 16:24hgbotNote Added: 0105307
2018-06-21 16:24hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/d9fbeeeffa4e56d8a69af4f0b1f2b02c9bd52e3f [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/2c09c64d4912d0874bb9a3b23afed26174ff284a [^]
2018-06-21 16:24hgbotCheckin
2018-06-21 16:24hgbotNote Added: 0105308
2018-06-21 16:24hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/2c09c64d4912d0874bb9a3b23afed26174ff284a [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/01f0372e489fcfb7bd971e8577af5b621927ce64 [^]
2018-06-25 08:36marvintmReview Assigned To => marvintm
2018-06-25 08:36marvintmStatusresolved => closed
2018-06-25 08:36marvintmFixed in Version => RR18Q3
2018-11-27 17:19migueldejuanaFile Added: mobilecore17Q2.diff
2018-11-27 17:20migueldejuanaFile Added: posterminal17Q2.diff
2018-12-04 11:32malsasuaFile Added: fixDoubleQuotes_posterminal17Q2.diff

Notes
(0105271)
hgbot   
2018-06-20 09:24   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 299990cbdde2bce33bf8e19715a5699b7ae1f936
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Tue Jun 19 16:29:48 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/299990cbdde2bce33bf8e19715a5699b7ae1f936 [^]

Fixed issue 0038602: POS does not load xml changes

- Get properly strings from LoginUtils
- Allow loadResources to pass paramaters in the url

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
M web/org.openbravo.mobile.core/source/utils/ob-utilities.js
---
(0105272)
hgbot   
2018-06-20 09:27   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 1a032bcca0e092ed73494d39900767deeab762db
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Tue Jun 19 16:34:23 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/1a032bcca0e092ed73494d39900767deeab762db [^]

Fixed issue 0038602: POS does not load xml changes

- Create an uuid for xml templates and pass it as parameter requesting files. When the paremeter changes because files are differents the files will not be cached in the browser because the request os different

---
M src/org/openbravo/retail/posterminal/ApplicationCacheComponent.java
M src/org/openbravo/retail/posterminal/LoginUtilsServlet.java
M web/org.openbravo.retail.posterminal/js/datasource.js
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
A src/org/openbravo/retail/posterminal/utility/OBPOSPrintTemplateReader.java
---
(0105293)
hgbot   
2018-06-21 09:15   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: d9fbeeeffa4e56d8a69af4f0b1f2b02c9bd52e3f
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Wed Jun 20 14:20:51 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/d9fbeeeffa4e56d8a69af4f0b1f2b02c9bd52e3f [^]

Fixed issue 0038602: POS does not load xml changes

- Fix logger class name
- Replace uuid with hash
- Add an order by in printTemplate list

---
M src/org/openbravo/retail/posterminal/ApplicationCacheComponent.java
M src/org/openbravo/retail/posterminal/utility/OBPOSPrintTemplateReader.java
---
(0105307)
hgbot   
2018-06-21 16:24   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 2c09c64d4912d0874bb9a3b23afed26174ff284a
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Thu Jun 21 10:02:02 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/2c09c64d4912d0874bb9a3b23afed26174ff284a [^]

Fixed issue 0038602: POS does not load xml changes

- Move templates from code to ERP

---
M src-db/database/sourcedata/AD_REF_LIST.xml
M src-db/database/sourcedata/OBPOS_PRINT_TEMPLATE.xml
M src/org/openbravo/retail/posterminal/ApplicationCacheComponent.java
---
(0105308)
hgbot   
2018-06-21 16:24   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 01f0372e489fcfb7bd971e8577af5b621927ce64
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Thu Jun 21 16:24:03 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/01f0372e489fcfb7bd971e8577af5b621927ce64 [^]

Fixed issue 0038602: POS does not load xml changes

- Change uuid by hash

---
M web/org.openbravo.retail.posterminal/js/datasource.js
---