Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0052484
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Retail Modules] Web POSminorhave not tried2023-05-18 18:472023-05-26 12:41
ReportercbernerView Statuspublic 
Assigned Tocberner 
PrioritynormalResolutionfixedFixed in VersionRR23Q3
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned ToAugustoMauch
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0052484: Ability to store the currently persisted version of the state, and check for conflict on initialization

DescriptionIt 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-
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0052578RR23Q2.3 closedcberner Ability to store the currently persisted version of the state, and check for conflict on initialization 

-  Notes
(0149943)
hgbot (developer)
2023-05-18 18:50

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/524 [^]
(0149944)
hgbot (developer)
2023-05-18 18:51

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1108 [^]
(0150305)
hgbot (developer)
2023-05-25 18:04

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/524 [^]
(0150306)
hgbot (developer)
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 (developer)
2023-05-25 18:05

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: d21a1b1130602ea1c681d4b3111983e23a977874
Author: Cristian Berner <cristian.berner@openbravo.com>
Date: 25-05-2023 16:04:58
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/d21a1b1130602ea1c681d4b3111983e23a977874 [^]

Related to FR-52484: Add check of last state persistence timestamp 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.

---
M web-jspack/org.openbravo.core2/src/ob-init.js
---
(0150308)
hgbot (developer)
2023-05-25 18:05

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1108 [^]

- 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 Triggers an Emergency Pack => No
2023-05-18 18:50 hgbot Note Added: 0149943
2023-05-18 18:51 hgbot Note Added: 0149944
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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker