Openbravo Issue Tracking System - POS2 |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0052316 | POS2 | Core | public | 2023-05-03 10:42 | 2023-05-03 16:56 |
|
Reporter | AugustoMauch | |
Assigned To | AugustoMauch | |
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | 23Q1.3 | Fixed in Version | 23Q1.2 | |
Merge Request Status | approved |
Review Assigned To | |
OBNetwork customer | No |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0052316: Popup should not be displayed when the application is refreshed programatically |
Description | When the user tries to refresh the browser manually, a popup is displayed to ensure the state is persisted before refreshing the browser.
But that popup is not needed when the application is refreshed programatically, we could automatically force the persistence of the state as part of that programatical refresh. |
Steps To Reproduce | - Open POS2
- Log in
- In the back office, do a change in a terminal property (i.e. change the default business partner and address)
- In POS2, refresh the master data. A refresh will be tried because there were changes in the terminal, and the intrusive popup will be displayed that will allow the user to skip the refresh resulting in inconsistencies |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | blocks | defect | 0052314 | | closed | AugustoMauch | Popup should not be displayed when the application is refreshed programatically |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2023-05-03 10:42 | AugustoMauch | Type | defect => backport |
2023-05-03 10:42 | AugustoMauch | Target Version | => 23Q1.3 |
2023-05-03 16:27 | hgbot | Merge Request Status | => open |
2023-05-03 16:27 | hgbot | Note Added: 0149229 | |
2023-05-03 16:27 | hgbot | Merge Request Status | open => approved |
2023-05-03 16:27 | hgbot | Resolution | open => fixed |
2023-05-03 16:27 | hgbot | Status | scheduled => closed |
2023-05-03 16:27 | hgbot | Note Added: 0149230 | |
2023-05-03 16:27 | hgbot | Fixed in Version | => RR23Q1.2 |
2023-05-03 16:27 | hgbot | Note Added: 0149231 | |
2023-05-03 16:34 | hgbot | Note Added: 0149232 | |
2023-05-03 16:56 | hgbot | Note Added: 0149241 | |
2023-05-03 16:56 | hgbot | Fixed in Version | RR23Q1.2 => 23Q1.2 |
2023-05-03 16:56 | hgbot | Note Added: 0149242 | |
Notes |
|
(0149229)
|
hgbot
|
2023-05-03 16:27
|
|
|
|
(0149230)
|
hgbot
|
2023-05-03 16:27
|
|
|
|
(0149231)
|
hgbot
|
2023-05-03 16:27
|
|
|
|
(0149232)
|
hgbot
|
2023-05-03 16:34
|
|
|
|
(0149241)
|
hgbot
|
2023-05-03 16:56
|
|
|
|
(0149242)
|
hgbot
|
2023-05-03 16:56
|
|
Directly closing issue as related merge request is already approved.
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 8d601dc96723df0b81e306e693a93c4525af905d
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 03-05-2023 16:46:34
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/8d601dc96723df0b81e306e693a93c4525af905d [^]
Fixes ISSUE-52316: Uses OB.App.reload instead of window.location.reload
The OB.App.reload function will ensure that the state is persisted before reload and also that the
popup that is open when the user refreshes manually to have time to persist the state is not rendered
---
M web-jspack/org.openbravo.core2/src/components/AppBar/ProfileSelector/ProfileSelector.jsx
M web-jspack/org.openbravo.core2/src/components/AppBar/ProfileSelector/__test__/ProfileSelector.test.jsx
M web-jspack/org.openbravo.core2/src/components/ErrorFallback/ErrorFallback.jsx
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/core/masterdata/MasterdataRefresh.js
M web-jspack/org.openbravo.core2/src/model/user-interface/user-actions/RefreshMasterdata.js
M web-jspack/org.openbravo.core2/src/registerServiceWorker.js
M web-jspack/org.openbravo.core2/src/serviceWorkerRegistration.js
---
|
|