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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0046499
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] Coremajoralways2021-05-04 19:002021-06-01 10:44
Reportergorka_gilView Statuspublic 
Assigned Toalostale 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0046499: After updating the sources, the old app can be used for few seconds

DescriptionWhen new sources are detected, it reset the state and do a page reload, but this happens some seconds after login, so is possible to use the old application for few seconds. All the changes done will be lost, and also is not the desired flow.

The loading screen should be maintained till sources update or something similar.
Steps To ReproduceNeeded to be in production mode: in tomcat , so service workers are active
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0046439 closedgorka_gil Reset app state on sources update 
related to defect 0046498 closedalostale New sources are not updated till doing a reload (F5) in the pos 

-  Notes
(0128765)
hgbot (developer)
2021-05-28 10:55

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: d8188a44878f1513a70382b1f73729bd694959ea
Author: Asier Lostalé <asier.lostale@openbravo.com>
Date: 2021-05-28T10:53:51+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/d8188a44878f1513a70382b1f73729bd694959ea [^]

fixes BUG-46498: check updates on login; fixes BUG-46499: block UI when updating

Included changes:

   * BUG-46498: When logging in, check if there are new sources and update if so
   * BUG-46499: While fetching new sources, block the UI so the user cannot operate the application

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M web-jspack/org.openbravo.core2/src/components/LoadingScreen/LoadingScreen.jsx
M web-jspack/org.openbravo.core2/src/core/authentication/LoginProcess.js
M web-jspack/org.openbravo.core2/src/index.jsx
M web-jspack/org.openbravo.core2/src/registerServiceWorker.js
M web-jspack/org.openbravo.core2/src/service-worker.js
M web-jspack/org.openbravo.core2/src/serviceWorkerRegistration.js
---

- Issue History
Date Modified Username Field Change
2021-05-04 19:00 gorka_gil New Issue
2021-05-04 19:00 gorka_gil Assigned To => platform
2021-05-04 19:00 gorka_gil Triggers an Emergency Pack => No
2021-05-04 19:01 gorka_gil Relationship added related to 0046439
2021-05-05 19:30 guilleaer Status new => acknowledged
2021-05-19 09:41 alostale Relationship added related to 0046498
2021-05-19 09:41 alostale Assigned To platform => alostale
2021-05-28 10:55 hgbot Resolution open => fixed
2021-05-28 10:55 hgbot Status acknowledged => resolved
2021-05-28 10:55 hgbot Note Added: 0128765
2021-06-01 10:44 alostale Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker