Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0038501
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2018-05-08 09:562018-06-04 12:05
ReporterjorgewederagoView Statuspublic 
Assigned Tomarvintm 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision036394bd8cd8
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomigueldejuana
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0038501: WebPOS is not automatically loading new resources added to the css until a clear cache is done

DescriptionWhen changing any resource in the css for the WebPOS it is needed to clear the cache to have the new resource loaded.
Steps To Reproduce1.- Open a WebPOS and check that the icon for delete ticket is correctly showed
2.- Open a development environment
3.- Go to org.openbravo.mobile.core/web/org.openbravo.mobile.core/assets/css
4.- Open ob-standard.css
5.- Change the image type for iconDelete from png to jpg
6.- Go to org.openbravo.mobile.core/web/org.openbravo.mobile.core/assets/img
7.- Change the image for iconDelete for a jpg one
8.- Save the changes and execute a compile.complete.deploy in the environment
9.- Refresh the first instance of WebPOS and check that the delete image still the same
10.- Open an incognito window and load into the same WebPOS.
11.- The new image will be displayed
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0038602 closedmigueldejuana POS does not load xml changes 

-  Notes
(0104865)
hgbot (developer)
2018-06-01 11:28

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 036394bd8cd86329e2d0f95d5533bc08c987597c
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Thu May 31 09:47:36 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/036394bd8cd86329e2d0f95d5533bc08c987597c [^]

Fixed issue 38501. Now css resources will be correctly updated. Two main changes have been made:
- Moved generation of the eTag in the MobileCoreComponentServlet to after the component has been generated. This ensures that the eTag is consistently generated from the css resources content, instead of just being a random number.
- Added the eTag to the manifest definition. This ensures that an AppCache update event is triggered the moment any css file is changed.

---
M src/org/openbravo/mobile/core/MobileCoreApplicationCacheComponent.java
M src/org/openbravo/mobile/core/MobileCoreComponentServlet.java
M src/org/openbravo/mobile/core/templates/cache-manifest.ftl
---
(0104878)
migueldejuana (developer)
2018-06-01 13:43

Tested and reviewed

- Issue History
Date Modified Username Field Change
2018-05-08 09:56 jorgewederago New Issue
2018-05-08 09:56 jorgewederago Assigned To => Retail
2018-05-08 09:56 jorgewederago Resolution time => 1527544800
2018-05-08 09:56 jorgewederago Triggers an Emergency Pack => No
2018-05-31 09:22 marvintm Assigned To Retail => marvintm
2018-05-31 09:22 marvintm Status new => scheduled
2018-06-01 11:28 hgbot Checkin
2018-06-01 11:28 hgbot Note Added: 0104865
2018-06-01 11:28 hgbot Status scheduled => resolved
2018-06-01 11:28 hgbot Resolution open => fixed
2018-06-01 11:28 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/036394bd8cd86329e2d0f95d5533bc08c987597c [^]
2018-06-01 13:43 migueldejuana Review Assigned To => migueldejuana
2018-06-01 13:43 migueldejuana Note Added: 0104878
2018-06-01 13:43 migueldejuana Status resolved => closed
2018-06-04 12:05 jorgewederago Issue Monitored: jorgewederago
2018-06-07 12:19 marvintm Relationship added related to 0038602


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker