Openbravo Issue Tracking System - POS2 |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0052092 | POS2 | Core | public | 2023-04-11 11:37 | 2023-06-07 15:36 |
|
Reporter | AugustoMauch | |
Assigned To | gonzalo_fernandez | |
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 | |
Review Assigned To | |
OBNetwork customer | |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0052092: Store a single copy of the Terminal in IndexedDB |
Description | The way we currently store the Terminal information to be consumed when the POS is offline is not proper. We are storing a copy of the Terminal info per user, which has two drawbacks:
- space is wasted, as the terminal info should be agnostic from the user currently logged in
- cached Terminal information will get outdated, because when the terminal info is refreshed in the session of a user, that copy of the terminal info will be updated, but the copies stored for other users will become stale.
To address this, we are going to store the terminal information on its own IndexedDB model, outside the User model.
Jira: https://openbravo.atlassian.net/browse/RM-5917 [^] |
Steps To Reproduce | - |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0052052 | | closed | AugustoMauch | Reduce the number of times the state is persisted on disk | has duplicate | design defect | 0049249 | | closed | Triage Platform Base | Terminalinfo should be separated from user info in indexeddb | causes | defect | 0052894 | | closed | AugustoMauch | Cache refresh forced after updating environment | causes | defect | 0052907 | | closed | meriem_azaf | Login offline is not working | causes | defect | 0055734 | | closed | meriem_azaf | On another pos language, when going offline, the pos goes back to english |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2023-04-11 11:37 | AugustoMauch | New Issue | |
2023-04-11 11:37 | AugustoMauch | Assigned To | => gonzalo_fernandez |
2023-04-11 11:37 | AugustoMauch | Triggers an Emergency Pack | => No |
2023-04-17 15:31 | hgbot | Note Added: 0148488 | |
2023-04-17 15:32 | hgbot | Note Added: 0148489 | |
2023-04-17 15:33 | hgbot | Note Added: 0148490 | |
2023-04-21 14:53 | hgbot | Note Added: 0148747 | |
2023-04-24 11:34 | hgbot | Note Added: 0148781 | |
2023-04-25 15:40 | AugustoMauch | Status | new => scheduled |
2023-04-27 15:26 | hgbot | Note Added: 0149020 | |
2023-05-09 13:26 | hgbot | Note Added: 0149491 | |
2023-05-11 14:21 | rafaroda | Relationship added | related to 0052052 |
2023-06-05 09:23 | AugustoMauch | Note Deleted: 0148747 | |
2023-06-05 09:23 | AugustoMauch | Note Deleted: 0148781 | |
2023-06-05 11:12 | hgbot | Note Added: 0150716 | |
2023-06-05 11:12 | hgbot | Note Added: 0150717 | |
2023-06-05 11:12 | hgbot | Note Added: 0150718 | |
2023-06-05 11:12 | hgbot | Note Added: 0150719 | |
2023-06-05 11:12 | hgbot | Note Added: 0150720 | |
2023-06-05 11:12 | hgbot | Note Added: 0150721 | |
2023-06-05 11:12 | hgbot | Resolution | open => fixed |
2023-06-05 11:12 | hgbot | Status | scheduled => closed |
2023-06-05 11:12 | hgbot | Fixed in Version | => 23Q3 |
2023-06-05 11:12 | hgbot | Note Added: 0150722 | |
2023-06-05 11:12 | hgbot | Note Added: 0150723 | |
2023-06-05 11:12 | hgbot | Fixed in Version | 23Q3 => RR23Q3 |
2023-06-05 11:12 | hgbot | Note Added: 0150724 | |
2023-06-05 11:12 | hgbot | Note Added: 0150725 | |
2023-06-05 11:12 | hgbot | Note Added: 0150726 | |
2023-06-05 11:13 | AugustoMauch | Fixed in Version | RR23Q3 => |
2023-06-05 11:13 | AugustoMauch | Description Updated | bug_revision_view_page.php?rev_id=26209#r26209 |
2023-06-07 11:10 | hgbot | Note Added: 0150857 | |
2023-06-07 15:36 | hgbot | Note Added: 0150896 | |
2023-06-07 15:36 | hgbot | Note Added: 0150897 | |
2023-06-30 08:56 | AugustoMauch | Relationship added | causes 0052894 |
2023-07-20 10:26 | meriem_azaf | Relationship added | causes 0052907 |
2024-01-02 16:29 | cberner | Relationship added | has duplicate 0049249 |
2024-06-28 14:13 | meriem_azaf | Relationship added | causes 0055734 |
Notes |
|
(0148488)
|
hgbot
|
2023-04-17 15:31
|
|
|
|
(0148489)
|
hgbot
|
2023-04-17 15:32
|
|
|
|
(0148490)
|
hgbot
|
2023-04-17 15:33
|
|
|
|
(0149020)
|
hgbot
|
2023-04-27 15:26
|
|
|
|
(0149491)
|
hgbot
|
2023-05-09 13:26
|
|
|
|
(0150716)
|
hgbot
|
2023-06-05 11:12
|
|
|
|
(0150717)
|
hgbot
|
2023-06-05 11:12
|
|
|
|
(0150718)
|
hgbot
|
2023-06-05 11:12
|
|
|
|
(0150719)
|
hgbot
|
2023-06-05 11:12
|
|
|
|
(0150720)
|
hgbot
|
2023-06-05 11:12
|
|
|
|
(0150721)
|
hgbot
|
2023-06-05 11:12
|
|
|
|
(0150722)
|
hgbot
|
2023-06-05 11:12
|
|
Directly closing issue as related merge request is already approved.
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: be2b7bb397472c32d16993c52cddad94d1ce80f2
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 05-06-2023 11:10:03
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/be2b7bb397472c32d16993c52cddad94d1ce80f2 [^]
Fixes ISSUE-52092: Merges fix/52092-user-terminal-data branch
---
M src/org/openbravo/core2/login/Core2LoginUtilsServlet.java
M src/org/openbravo/core2/login/GrantedUserActionsProvider.java
M web-jspack/org.openbravo.core2/src/core/authentication/InitializeAppData.js
M web-jspack/org.openbravo.core2/src/core/authentication/LoginProcess.js
M web-jspack/org.openbravo.core2/src/core/authentication/RestoreSession.js
M web-jspack/org.openbravo.core2/src/core/authentication/__test__/InitializeAppData.test.js
M web-jspack/org.openbravo.core2/src/core/authentication/__test__/LoginProcess.test.js
M web-jspack/org.openbravo.core2/src/core/authentication/__test__/RestoreSession.test.js
M web-jspack/org.openbravo.core2/src/core/terminal/TerminalDataMasterdataHooks.js
M web-jspack/org.openbravo.core2/src/core/terminal/__test__/TerminalDataMasterdataHooks.test.js
---
|
|
|
(0150723)
|
hgbot
|
2023-06-05 11:12
|
|
|
|
(0150724)
|
hgbot
|
2023-06-05 11:12
|
|
|
|
(0150725)
|
hgbot
|
2023-06-05 11:12
|
|
|
|
(0150726)
|
hgbot
|
2023-06-05 11:12
|
|
|
|
(0150857)
|
hgbot
|
2023-06-07 11:10
|
|
|
|
(0150896)
|
hgbot
|
2023-06-07 15:36
|
|
|
|
(0150897)
|
hgbot
|
2023-06-07 15:36
|
|
|