Openbravo Issue Tracking System - Retail Modules
View Issue Details
0055153Retail ModulesWeb POSpublic2024-04-10 11:532024-04-29 11:48
AugustoMauch 
AugustoMauch 
normalmajorhave not tried
closedfixed 
5
 
RR24Q3 
No
0055153: It would be useful to be able to select the persistence method of the application state
The application state is currently persisted using LocalStorage. State persistence is sometimes glitchy, so it would be useful to be able to use an alternative persistence method (i.e. IndexedDB) to be able to check if those glitches are indeed caused by LocalStorage.
-
No tags attached.
Issue History
2024-04-10 11:53AugustoMauchNew Issue
2024-04-10 11:53AugustoMauchAssigned To => AugustoMauch
2024-04-10 11:53AugustoMauchTriggers an Emergency Pack => No
2024-04-10 11:53AugustoMauchStatusnew => scheduled
2024-04-10 12:29hgbotNote Added: 0163039
2024-04-10 12:30hgbotNote Added: 0163040
2024-04-17 10:51hgbotNote Added: 0163310
2024-04-23 10:54hgbotNote Added: 0163583
2024-04-23 10:55hgbotNote Added: 0163586
2024-04-23 11:09hgbotNote Added: 0163587
2024-04-24 12:58hgbotNote Added: 0163654
2024-04-29 11:46hgbotNote Added: 0163887
2024-04-29 11:47hgbotNote Added: 0163888
2024-04-29 11:47hgbotNote Added: 0163889
2024-04-29 11:47hgbotResolutionopen => fixed
2024-04-29 11:47hgbotStatusscheduled => closed
2024-04-29 11:47hgbotFixed in Version => RR24Q3
2024-04-29 11:47hgbotNote Added: 0163890
2024-04-29 11:47hgbotNote Added: 0163891
2024-04-29 11:48hgbotNote Added: 0163892
2024-04-29 11:48hgbotNote Added: 0163893
2024-04-29 11:48hgbotNote Added: 0163894

Notes
(0163039)
hgbot   
2024-04-10 12:29   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/692 [^]
(0163040)
hgbot   
2024-04-10 12:30   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1527 [^]
(0163310)
hgbot   
2024-04-17 10:51   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1466 [^]
(0163583)
hgbot   
2024-04-23 10:54   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sampledata/-/merge_requests/96 [^]
(0163586)
hgbot   
2024-04-23 10:55   
Merge Request created: https://gitlab.com/openbravo/ci/modules/org.openbravo.test.mobile.sampledata/-/merge_requests/134 [^]
(0163587)
hgbot   
2024-04-23 11:09   
Merge Request created: https://gitlab.com/openbravo/ci/modules/org.openbravo.retail.testsampledata/-/merge_requests/92 [^]
(0163654)
hgbot   
2024-04-24 12:58   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.sampledata/-/merge_requests/86 [^]
(0163887)
hgbot   
2024-04-29 11:46   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: af4e4027004e33a3f4392495d1f1f5fd94634350
Author: Cristian Berner <cristian.berner@openbravo.com>
Date: 29-04-2024 11:46:38
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/af4e4027004e33a3f4392495d1f1f5fd94634350 [^]

Related to FR-55153: Adds State Persistence Configurable persistence method

It is now possible to switch between localStorage and IndexedDB as
persistence method tool for the state of the application.

---
M web-jspack/org.openbravo.core2/src/core/terminal/TerminalDataMasterdataHooks.js
M web-jspack/org.openbravo.core2/src/ob-init.js
---
(0163888)
hgbot   
2024-04-29 11:47   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: b9dd93a956f712d3d2a72f168002c39a4fdf1d98
Author: Cristian Berner <cristian.berner@openbravo.com>
Date: 29-04-2024 11:46:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/b9dd93a956f712d3d2a72f168002c39a4fdf1d98 [^]

Related to FR-55153: Adds State Persistence Configurable persistence method

It is now possible to switch between localStorage and IndexedDB as
persistence method tool for the state of the application.

---
M src-db/database/model/tables/OBPOS_APPLICATIONS.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src/org/openbravo/retail/posterminal/term/TerminalProperties.java
---
(0163889)
hgbot   
2024-04-29 11:47   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1527 [^]
(0163890)
hgbot   
2024-04-29 11:47   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: 2c698218bc26291c6bbb4af66873a85b1dacf1ac
Author: Cristian Berner <cristian.berner@openbravo.com>
Date: 29-04-2024 11:44:07
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/2c698218bc26291c6bbb4af66873a85b1dacf1ac [^]

Fixes FR-55153: Adds State Persistence Configurable persistence method

It is now possible to switch between localStorage and IndexedDB as
persistence method tool for the state of the application.

---
A web/org.openbravo.mobile.core/app/model/application-state/PersistedStateIndexedDBController.js
A web/org.openbravo.mobile.core/app/model/application-state/PersistedStateModel.js
M src-db/database/sourcedata/AD_REFERENCE.xml
M src-db/database/sourcedata/AD_REF_LIST.xml
M src/org/openbravo/mobile/core/MobileCoreComponentProvider.java
M web-test/model/application-state/StatePersistence.functional.test.js
M web-test/model/application-state/StatePersistence.test.js
M web-test/model/application-state/StateUndo.functional.test.js
M web-test/model/application-state/compat/StateBackwardCompatibility-backbone-state.test.js
M web-test/model/application-state/compat/StateBackwardCompatibility-bidirectional.test.js
M web-test/model/application-state/compat/StateBackwardCompatibility-infra.test.js
M web-test/model/application-state/compat/StateBackwardCompatibility-state-backbone.test.js
M web-test/model/application-state/compat/backward-compat-integration-base.js
M web/org.openbravo.mobile.core/app/model/application-state/StatePersistence.js
M web/org.openbravo.mobile.core/app/model/persistence/indexeddb/IndexedDBController.js
M web/org.openbravo.mobile.core/app/model/persistence/indexeddb/Model.js
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
M web/org.openbravo.mobile.core/source/utils/ob-localStorage.js
R web/org.openbravo.mobile.core/app/model/application-state/LastStatePersistenceModelController.js
---
(0163891)
hgbot   
2024-04-29 11:47   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.sampledata [^]
Changeset: 24ed30031e1ec11898d6e26160113e9144547c4d
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 26-04-2024 13:46:05
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.sampledata/-/commit/24ed30031e1ec11898d6e26160113e9144547c4d [^]

Related to ISSUE-55153: Updates sampledata includes storagemethod property in obpos_applications

---
M referencedata/sampledata/The_White_Valley_Group/OBPOS_APPLICATIONS.xml
---
(0163892)
hgbot   
2024-04-29 11:48   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sampledata [^]
Changeset: 61c01acbc415073e16b80504ff433121fff405c4
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 26-04-2024 13:46:22
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sampledata/-/commit/61c01acbc415073e16b80504ff433121fff405c4 [^]

Related to ISSUE-55153: Updates sampledata includes storagemethod property in obpos_applications

---
M referencedata/sampledata/The_White_Valley_Group/OBPOS_APPLICATIONS.xml
---
(0163893)
hgbot   
2024-04-29 11:48   
Repository: https://gitlab.com/openbravo/ci/modules/org.openbravo.retail.testsampledata [^]
Changeset: 642058f4c4b1b530c09a2f9da33a039149f84098
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 26-04-2024 13:59:05
URL: https://gitlab.com/openbravo/ci/modules/org.openbravo.retail.testsampledata/-/commit/642058f4c4b1b530c09a2f9da33a039149f84098 [^]

Related to ISSUE-55153: Updates sampledata includes storagemethod property in obpos_applications

---
M referencedata/sampledata/Retail_Test/OBPOS_APPLICATIONS.xml
---
(0163894)
hgbot   
2024-04-29 11:48   
Repository: https://gitlab.com/openbravo/ci/modules/org.openbravo.test.mobile.sampledata [^]
Changeset: 65d008a7d0bad3054e6be049c1fd4245b8275fff
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 26-04-2024 13:58:28
URL: https://gitlab.com/openbravo/ci/modules/org.openbravo.test.mobile.sampledata/-/commit/65d008a7d0bad3054e6be049c1fd4245b8275fff [^]

Related to ISSUE-55153: Updates sampledata includes storagemethod property in obpos_applications

---
M referencedata/sampledata/The_White_Valley_Group/OBPOS_APPLICATIONS.xml
---