Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0052484 | Retail Modules | Web POS | public | 2023-05-18 18:47 | 2023-05-26 12:41 |
|
Reporter | cberner | |
Assigned To | cberner | |
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | RR23Q3 | |
Merge Request Status | approved |
Review Assigned To | AugustoMauch |
OBNetwork customer | No |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0052484: Ability to store the currently persisted version of the state, and check for conflict on initialization |
Description | It should be possible to store the current persisted version of the state(timestamp) each time the state is persisted. And check on state retrieval if it coincides with the last one persisted, if not, show that info to the user, as that might be a state persistence discrepancy problem. |
Steps To Reproduce | - |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | depends on | backport | 0052578 | RR23Q2.3 | closed | cberner | Ability to store the currently persisted version of the state, and check for conflict on initialization |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2023-05-18 18:47 | cberner | New Issue | |
2023-05-18 18:47 | cberner | Assigned To | => cberner |
2023-05-18 18:47 | cberner | OBNetwork customer | => No |
2023-05-18 18:47 | cberner | Triggers an Emergency Pack | => No |
2023-05-18 18:50 | hgbot | Merge Request Status | => open |
2023-05-18 18:50 | hgbot | Note Added: 0149943 | |
2023-05-18 18:51 | hgbot | Note Added: 0149944 | |
2023-05-25 17:59 | hgbot | Merge Request Status | open => approved |
2023-05-25 18:04 | hgbot | Resolution | open => fixed |
2023-05-25 18:04 | hgbot | Status | new => closed |
2023-05-25 18:04 | hgbot | Note Added: 0150305 | |
2023-05-25 18:04 | hgbot | Fixed in Version | => RR23Q3 |
2023-05-25 18:04 | hgbot | Note Added: 0150306 | |
2023-05-25 18:05 | hgbot | Note Added: 0150307 | |
2023-05-25 18:05 | hgbot | Note Added: 0150308 | |
2023-05-26 12:40 | cberner | Status | closed => new |
2023-05-26 12:40 | cberner | Resolution | fixed => open |
2023-05-26 12:40 | cberner | Fixed in Version | RR23Q3 => |
2023-05-26 12:40 | cberner | Status | new => scheduled |
2023-05-26 12:40 | cberner | Status | scheduled => resolved |
2023-05-26 12:40 | cberner | Fixed in Version | => RR23Q3 |
2023-05-26 12:40 | cberner | Resolution | open => fixed |
2023-05-26 12:41 | cberner | Review Assigned To | => AugustoMauch |
2023-05-26 12:41 | cberner | Status | resolved => closed |
Notes |
|
(0149943)
|
hgbot
|
2023-05-18 18:50
|
|
|
|
(0149944)
|
hgbot
|
2023-05-18 18:51
|
|
|
|
(0150305)
|
hgbot
|
2023-05-25 18:04
|
|
|
|
(0150306)
|
hgbot
|
2023-05-25 18:04
|
|
Directly closing issue as related merge request is already approved.
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: 2c55dea4b9a339029750acf84578e07fc51073f6
Author: Cristian Berner <cristian.berner@openbravo.com>
Date: 25-05-2023 16:04:45
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/2c55dea4b9a339029750acf84578e07fc51073f6 [^]
Fixes FR-52484: Add state versioning and checks on state retrieval
A timestamp has been added on localStorage each time a state persistence happens. That value is also saved in indexedDB and on refresh or application start, it will check if there is any discrepancy between the last retrieved state and the one timestamp persisted in indexedDB.
---
A web/org.openbravo.mobile.core/app/model/application-state/LastStatePersistenceModel.js
A web/org.openbravo.mobile.core/app/model/application-state/LastStatePersistenceModelController.js
M src/org/openbravo/mobile/core/MobileCoreComponentProvider.java
M web/org.openbravo.mobile.core/app/model/application-state/StatePersistence.js
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
|
|
|
(0150307)
|
hgbot
|
2023-05-25 18:05
|
|
|
|
(0150308)
|
hgbot
|
2023-05-25 18:05
|
|
|