Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0038501 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | always | 2018-05-08 09:56 | 2018-06-04 12:05 | |||
Reporter | jorgewederago | View Status | public | |||||
Assigned To | marvintm | |||||||
Priority | high | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | 036394bd8cd8 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | migueldejuana | |||||||
OBNetwork customer | OBPS | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0038501: WebPOS is not automatically loading new resources added to the css until a clear cache is done | |||||||
Description | When changing any resource in the css for the WebPOS it is needed to clear the cache to have the new resource loaded. | |||||||
Steps To Reproduce | 1.- 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 | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(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 (viewer) 2018-06-01 13:43 |
Tested and reviewed |
![]() |
|||
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 | OBNetwork customer | => Yes |
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 |