Openbravo Issue Tracking System - POS2 |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0052764 | POS2 | Core | public | 2023-06-16 08:42 | 2023-06-16 08:58 |
|
Reporter | AugustoMauch | |
Assigned To | AugustoMauch | |
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | 22Q3.2 | Fixed in Version | 22Q3.3 | |
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 | 0052764: 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-06-16 08:42 | AugustoMauch | New Issue | |
2023-06-16 08:42 | AugustoMauch | Assigned To | => AugustoMauch |
2023-06-16 08:42 | AugustoMauch | OBNetwork customer | => No |
2023-06-16 08:42 | AugustoMauch | Triggers an Emergency Pack | => No |
2023-06-16 08:42 | AugustoMauch | Issue generated from | 0052314 |
2023-06-16 08:43 | AugustoMauch | Issue cloned | 0052765 |
2023-06-16 08:43 | AugustoMauch | Target Version | 22Q4 => 22Q3.2 |
2023-06-16 08:45 | hgbot | Merge Request Status | => open |
2023-06-16 08:45 | hgbot | Note Added: 0151253 | |
2023-06-16 08:46 | hgbot | Note Added: 0151254 | |
2023-06-16 08:55 | hgbot | Merge Request Status | open => approved |
2023-06-16 08:58 | hgbot | Resolution | open => fixed |
2023-06-16 08:58 | hgbot | Status | new => closed |
2023-06-16 08:58 | hgbot | Note Added: 0151255 | |
2023-06-16 08:58 | hgbot | Fixed in Version | => RR22Q3.3 |
2023-06-16 08:58 | hgbot | Note Added: 0151256 | |
2023-06-16 08:58 | hgbot | Note Added: 0151257 | |
2023-06-16 08:58 | hgbot | Fixed in Version | RR22Q3.3 => 22Q3.3 |
2023-06-16 08:58 | hgbot | Note Added: 0151258 | |
2023-06-21 09:26 | AugustoMauch | Relationship added | blocks 0052314 |
Notes |
|
(0151253)
|
hgbot
|
2023-06-16 08:45
|
|
|
|
(0151254)
|
hgbot
|
2023-06-16 08:46
|
|
|
|
(0151255)
|
hgbot
|
2023-06-16 08:58
|
|
|
|
(0151256)
|
hgbot
|
2023-06-16 08:58
|
|
|
|
(0151257)
|
hgbot
|
2023-06-16 08:58
|
|
|
|
(0151258)
|
hgbot
|
2023-06-16 08:58
|
|
Directly closing issue as related merge request is already approved.
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: c1df693530ebbddfb4ee0c54424caf480311be29
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 16-06-2023 08:46:08
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/c1df693530ebbddfb4ee0c54424caf480311be29 [^]
Fixes ISSUE-52764: 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
---
|
|