Openbravo Issue Tracking System - POS2
View Issue Details
0046498POS2Corepublic2021-05-04 18:512021-05-28 10:55
0046498: New sources are not updated till doing a reload (F5) in the pos
In the old pos in the logout/login process is executed a window reload, that allows to detect the new sources.

But in the new pos in the logout/login process there is no reload, and doesn't detect the changes of sources till the page was reloaded manually (pressing F5 or similar)

Ideally would be preferred to maintain the logout/login process without a reload if posible.
Needed to be in production mode: in tomcat , so service workers are active
No tags attached.
related to defect 0046439 closed gorka_gil Reset app state on sources update 
related to defect 0046499 closed alostale After updating the sources, the old app can be used for few seconds 
related to defect 0046831 closed gorka_gil error when updating sources 
blocks backport 0046885TAP closed alostale updates not checked on login & UI not blocked when updating 
Issue History
2021-05-04 18:51gorka_gilNew Issue
2021-05-04 18:51gorka_gilAssigned To => platform
2021-05-04 18:51gorka_gilTriggers an Emergency Pack => No
2021-05-04 18:52gorka_gilRelationship addedrelated to 0046439
2021-05-04 19:01gorka_gilSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=22444#r22444
2021-05-05 07:32alostaleRelationship addedrelated to 0045219
2021-05-05 07:33alostaleRelationship deletedrelated to 0045219
2021-05-05 19:30guilleaerStatusnew => acknowledged
2021-05-19 09:29alostaleAssigned Toplatform => alostale
2021-05-19 09:41alostaleStatusacknowledged => scheduled
2021-05-19 09:41alostaleRelationship addedrelated to 0046499
2021-05-25 07:13hgbotNote Added: 0128596
2021-05-25 16:00alostaleRelationship addedrelated to 0046831
2021-05-28 10:51alostaleIssue cloned0046885
2021-05-28 10:51alostaleRelationship addedblocks 0046885
2021-05-28 10:55hgbotResolutionopen => fixed
2021-05-28 10:55hgbotStatusscheduled => closed
2021-05-28 10:55hgbotNote Added: 0128764
2021-05-28 10:55hgbotNote Added: 0128766

2021-05-25 07:13   
Merge Request created: [^]
2021-05-28 10:55   
Directly closing issue as related merge request is already approved.

Repository: [^]
Changeset: d8188a44878f1513a70382b1f73729bd694959ea
Author: Asier Lostalé <>
Date: 2021-05-28T10:53:51+02:00
URL: [^]

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
2021-05-28 10:55   
Merge request merged: [^]