Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0056436 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [POS2] Core | minor | have not tried | 2024-09-12 10:21 | 2024-11-21 17:30 | |||
Reporter | alostale | View Status | public | |||||
Assigned To | jarmendariz | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 25Q1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0056436: blank page on 1st login after deploy | |||||||
Description | On the first login after deploying a new production version shows a blank screen. It is necessary to reload the page to be able to continue. A similar problem was reported in RM-8946 but we were not able to reproduce back then. Note since it was reported build chain has been changed to use vite. | |||||||
Steps To Reproduce | 1. Prepare a new production version 1.1 For example apply the attached patch in core2 module modifying the "version" number. This number is displayed in login and in main screens so it's easy to know which is the current version. 1.2 Build and deploy the new version: run ant build.prod from mdoules/org.openbravo.core2 directory 2. Operate POS 2.1 Load login screen using production build (not development server), using the <context>/web/pos url 2.2 Log in 2.3 Close the POS browser's tab 3. Repeat steps defined in 1 (increasing version number) 4. Repeats steps defined in 2 4.1 Note in 2.1 the version number is n-1 (previous version) -> OK 4.2 On log in ERROR: blank screen Although it seems the new index.html has been requested, we somehow continue using the old one (n-1) that references to the old index-[n-1].js as it's been already removed from the resources cached by the service worker, it is tried to be fetched but it is not present anymore resulting on a 404. | |||||||
Tags | No tags attached. | |||||||
Attached Files | version.diff [^] (2,128 bytes) 2024-09-12 10:34 [Show Content] | |||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||
|
Notes | |
(0171177) hgbot (developer) 2024-10-31 00:56 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1626 [^] |
(0172440) hgbot (developer) 2024-11-21 17:29 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1626 [^] |
(0172441) hgbot (developer) 2024-11-21 17:30 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^] Changeset: dfc6cd3ce9de6d979b0590798167473c25a420b6 Author: Javier Armendáriz <j.armendariz@orisha.com> Date: 21-11-2024 16:29:07 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/dfc6cd3ce9de6d979b0590798167473c25a420b6 [^] Fixed ISSUE-56436: Deferred reload when updating ServiceWorker to avoid inconsistent states --- M web-jspack/org.openbravo.core2/src/core/authentication/LoginProcess.js M web-jspack/org.openbravo.core2/src/core/authentication/__test__/LoginProcess.test.js M web-jspack/org.openbravo.core2/src/registerServiceWorker.js M web-jspack/org.openbravo.core2/src/serviceWorkerRegistration.js --- |
Issue History | |||
Date Modified | Username | Field | Change |
2024-09-12 10:21 | alostale | New Issue | |
2024-09-12 10:21 | alostale | Assigned To | => Triage Platform Base |
2024-09-12 10:21 | alostale | Triggers an Emergency Pack | => No |
2024-09-12 10:23 | alostale | Steps to Reproduce Updated | View Revisions |
2024-09-12 10:32 | alostale | Steps to Reproduce Updated | View Revisions |
2024-09-12 10:34 | alostale | File Added: version.diff | |
2024-09-12 10:34 | alostale | Steps to Reproduce Updated | View Revisions |
2024-09-12 10:46 | AugustoMauch | Assigned To | Triage Platform Base => jarmendariz |
2024-09-12 11:45 | AugustoMauch | Summary | blank page on 21st login after deploy => blank page on 1st login after deploy |
2024-10-29 09:56 | AugustoMauch | Status | new => scheduled |
2024-10-31 00:56 | hgbot | Note Added: 0171177 | |
2024-11-21 17:29 | hgbot | Note Added: 0172440 | |
2024-11-21 17:30 | hgbot | Resolution | open => fixed |
2024-11-21 17:30 | hgbot | Status | scheduled => closed |
2024-11-21 17:30 | hgbot | Fixed in Version | => 25Q1 |
2024-11-21 17:30 | hgbot | Note Added: 0172441 | |
2024-11-21 17:30 | jarmendariz | Relationship added | related to 0056978 |
Copyright © 2000 - 2009 MantisBT Group |