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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0041457
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajorhave not tried2019-07-25 17:552023-10-06 08:59
ReporteradrianromeroView Statuspublic 
Assigned TojavierRodriguez 
PriorityurgentResolutionfixedFixed in VersionRR19Q4
StatusclosedFix in branchFixed in SCM revision7b2ecb62f7a0
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0041457: Failed to load Application Cache in login

DescriptionWhen login the application the message "Failed to load Application Cache" appears. After pressing OK the application continues loading
Steps To ReproduceOpen a Guest window or clean completely the cache.
Go to https://livebuilds.openbravo.com/retail_pi_pgsql/web/org.openbravo.retail.posterminal/?terminal=VBS-1 [^]
Log in as Vallblanca and observe the message "Failed to load Application Cache" appears.

The reason is because this changeset breaks the service workers cache. -> https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/ce9737beff16#l3.16 [^]

But the origin of the issue and what has to be fixed is the following code -> https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/file/tip/web/org.openbravo.mobile.core/source/offline/ob-sources-sw.js#l68 [^]
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0113690)
hgbot (developer)
2019-07-29 12:26

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 7b2ecb62f7a05d21fcc3ee2dfb01fc0f5e2db509
Author: Javier Rodriguez <javier.rodriguez <at> openbravo.com>
Date: Mon Jul 29 12:25:38 2019 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/7b2ecb62f7a05d21fcc3ee2dfb01fc0f5e2db509 [^]

Fixed issue 41457: Failed to load Application Cache in login

there was an issue when Service workers tries to replace '../../' from some routes.
If there was that pattern inside a route it would be removed and it could be a wrong path.

Now, it will be removed if that pattern is at the beginning of the path.

---
M web/org.openbravo.mobile.core/source/offline/ob-sources-sw.js
---
(0155600)
alikeplanning (reporter)
2023-10-06 08:59

test oke and reviews good
contact: https://drivingmad.io [^]

- Issue History
Date Modified Username Field Change
2019-07-25 17:55 adrianromero New Issue
2019-07-25 17:55 adrianromero Assigned To => javierRodriguez
2019-07-25 17:55 adrianromero Triggers an Emergency Pack => No
2019-07-25 17:56 adrianromero Steps to Reproduce Updated View Revisions
2019-07-29 12:26 hgbot Checkin
2019-07-29 12:26 hgbot Note Added: 0113690
2019-07-29 12:26 hgbot Status new => resolved
2019-07-29 12:26 hgbot Resolution open => fixed
2019-07-29 12:26 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/7b2ecb62f7a05d21fcc3ee2dfb01fc0f5e2db509 [^]
2019-08-02 08:49 marvintm Review Assigned To => marvintm
2019-08-02 08:49 marvintm Status resolved => closed
2019-08-02 08:49 marvintm Fixed in Version => RR19Q4
2020-01-12 18:00 eugeni Issue Monitored: eugeni
2023-10-06 08:59 alikeplanning Note Added: 0155600


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker