Openbravo Issue Tracking System - POS2 |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0052314 | POS2 | Core | public | 2023-05-03 10:42 | 2023-09-26 15:07 |
|
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 | | Fixed in Version | | |
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 | 0052314: 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 | depends on | backport | 0052315 | 23Q2.1 | closed | AugustoMauch | Popup should not be displayed when the application is refreshed programatically | depends on | backport | 0052316 | 23Q1.3 | closed | AugustoMauch | Popup should not be displayed when the application is refreshed programatically | depends on | backport | 0052765 | 22Q4.2 | closed | AugustoMauch | Popup should not be displayed when the application is refreshed programatically | depends on | backport | 0052764 | 22Q3.2 | closed | AugustoMauch | Popup should not be displayed when the application is refreshed programatically |
|
Attached Files | 52314_22Q2.tar.gz (2,117) 2023-09-26 15:07 https://issues.openbravo.com/file_download.php?file_id=18996&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2023-05-03 10:42 | AugustoMauch | New Issue | |
2023-05-03 10:42 | AugustoMauch | Assigned To | => AugustoMauch |
2023-05-03 10:42 | AugustoMauch | OBNetwork customer | => No |
2023-05-03 10:42 | AugustoMauch | Triggers an Emergency Pack | => No |
2023-05-03 10:42 | AugustoMauch | Status | new => scheduled |
2023-05-03 11:39 | hgbot | Merge Request Status | => open |
2023-05-03 11:39 | hgbot | Note Added: 0149190 | |
2023-05-03 11:46 | hgbot | Merge Request Status | open => approved |
2023-05-03 11:47 | hgbot | Merge Request Status | approved => open |
2023-05-03 12:07 | hgbot | Note Added: 0149192 | |
2023-05-03 13:08 | hgbot | Merge Request Status | open => approved |
2023-05-03 15:46 | hgbot | Resolution | open => fixed |
2023-05-03 15:46 | hgbot | Status | scheduled => closed |
2023-05-03 15:46 | hgbot | Note Added: 0149221 | |
2023-05-03 15:46 | hgbot | Fixed in Version | => RR23Q3 |
2023-05-03 15:46 | hgbot | Note Added: 0149222 | |
2023-05-03 15:46 | hgbot | Note Added: 0149223 | |
2023-05-03 15:46 | hgbot | Fixed in Version | RR23Q3 => 23Q3 |
2023-05-03 15:46 | hgbot | Note Added: 0149224 | |
2023-06-16 08:41 | AugustoMauch | Status | closed => new |
2023-06-16 08:41 | AugustoMauch | Resolution | fixed => open |
2023-06-16 08:41 | AugustoMauch | Fixed in Version | 23Q3 => |
2023-06-16 08:41 | AugustoMauch | Status | new => scheduled |
2023-06-16 08:41 | AugustoMauch | Status | scheduled => resolved |
2023-06-16 08:41 | AugustoMauch | Resolution | open => fixed |
2023-06-16 08:41 | AugustoMauch | Status | resolved => closed |
2023-06-16 08:42 | AugustoMauch | Issue cloned | 0052764 |
2023-06-21 09:26 | AugustoMauch | Relationship added | depends on 0052765 |
2023-06-21 09:26 | AugustoMauch | Relationship added | depends on 0052764 |
2023-09-26 15:07 | malsasua | File Added: 52314_22Q2.tar.gz | |
Notes |
|
(0149190)
|
hgbot
|
2023-05-03 11:39
|
|
|
|
(0149192)
|
hgbot
|
2023-05-03 12:07
|
|
|
|
(0149221)
|
hgbot
|
2023-05-03 15:46
|
|
|
|
(0149222)
|
hgbot
|
2023-05-03 15:46
|
|
|
|
(0149223)
|
hgbot
|
2023-05-03 15:46
|
|
|
|
(0149224)
|
hgbot
|
2023-05-03 15:46
|
|
Directly closing issue as related merge request is already approved.
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 36f26027a4d5f98d9ccb020829bbe27d300666a7
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 03-05-2023 13:45:22
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/36f26027a4d5f98d9ccb020829bbe27d300666a7 [^]
Fixes ISSUE-52314: 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
---
|
|