Openbravo Issue Tracking System - Retail Modules
View Issue Details
0053458Retail ModulesWeb POSpublic2023-09-14 14:392023-11-03 09:14
cberner 
cberner 
normalmajorhave not tried
closedfixed 
5
 
 
approved
No
No
0053458: Masterdata Cache should be loaded in Background
As Product remote model was not implemented it was required to implement on a synchronous way the MasterdataCache on login generating significant waiting times for big volumes: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/blob/master/web/org.openbravo.mobile.core/app/model/masterdata/MasterdataController.js#L1037 [^]

It will be required to do the MasterdataCache in background and implement a fallback that will execute the query in remote mode so the products (or others) can still be fetched.

In case of login offline it will be needed to execute the MasterDataCache in a synchronous way as the fallback will not work: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/blob/master/web/org.openbravo.mobile.core/app/model/masterdata/MasterdataController.js#L1063 [^]
-
No tags attached.
Issue History
2023-09-14 14:39cbernerNew Issue
2023-09-14 14:39cbernerAssigned To => Retail
2023-09-14 14:39cbernerOBNetwork customer => No
2023-09-14 14:39cbernerTriggers an Emergency Pack => No
2023-09-14 14:39cbernerAssigned ToRetail => cberner
2023-09-14 14:39cbernerStatusnew => scheduled
2023-09-14 14:46hgbotMerge Request Status => open
2023-09-14 14:46hgbotNote Added: 0154856
2023-09-19 15:45hgbotNote Added: 0154999
2023-09-19 15:49hgbotNote Added: 0155000
2023-09-21 13:11hgbotNote Added: 0155103
2023-09-21 13:12hgbotNote Added: 0155104
2023-10-24 23:50AugustoMauchNote Deleted: 0155103
2023-10-24 23:50AugustoMauchNote Deleted: 0154999
2023-10-24 23:50AugustoMauchNote Deleted: 0155104
2023-10-24 23:50AugustoMauchNote Deleted: 0155000
2023-11-01 12:52hgbotResolutionopen => fixed
2023-11-01 12:52hgbotStatusscheduled => resolved
2023-11-01 12:52hgbotFixed in Version => RR24Q1
2023-11-01 12:52hgbotNote Added: 0156588
2023-11-01 12:52hgbotMerge Request Statusopen => merged
2023-11-01 12:52hgbotNote Added: 0156589
2023-11-01 12:52AugustoMauchStatusresolved => closed
2023-11-01 12:52AugustoMauchFixed in VersionRR24Q1 =>
2023-11-03 09:08hgbotNote Added: 0156657
2023-11-03 09:14hgbotMerge Request Statusmerged => approved
2023-11-03 09:14hgbotNote Added: 0156658
2023-11-03 09:14hgbotNote Added: 0156659

Notes
(0154856)
hgbot   
2023-09-14 14:46   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/618 [^]
(0156588)
hgbot   
2023-11-01 12:52   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: 5f281fb3d4f7d7af27fa1063a93c527dd97a74d8
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 01-11-2023 12:51:43
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/5f281fb3d4f7d7af27fa1063a93c527dd97a74d8 [^]

Fixes ISSUE-53458: Merges branch 'fr/53458-masterdata-cache'

---
M src-test/org/openbravo/mobile/core/master/MasterDataModelConfigTest.java
M src/org/openbravo/mobile/core/master/MasterDataConfigLoadProcess.java
M web-test/model/masterdata/MasterdataController.test.js
M web-test/model/remote/RemoteDataController.test.js
M web/org.openbravo.mobile.core/app/model/masterdata/MasterdataController.js
M web/org.openbravo.mobile.core/app/model/masterdata/MasterdataModel.js
M web/org.openbravo.mobile.core/app/model/persistence/indexeddb/Criteria.js
M web/org.openbravo.mobile.core/app/model/persistence/indexeddb/IndexedDBQuery.js
M web/org.openbravo.mobile.core/app/model/remote/RemoteDataController.js
---
(0156589)
hgbot   
2023-11-01 12:52   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/618 [^]
(0156657)
hgbot   
2023-11-03 09:08   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/630 [^]
(0156658)
hgbot   
2023-11-03 09:14   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/630 [^]
(0156659)
hgbot   
2023-11-03 09:14   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: e19baa9fa990242adb38d8642ce60cc3ba09730a
Author: Cristian Berner <cristian.berner@openbravo.com>
Date: 03-11-2023 09:07:46
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/e19baa9fa990242adb38d8642ce60cc3ba09730a [^]

Related to FR-53458: Fix MasterDataModelConfig test by properly expecting ImplementedModes

---
M src-test/org/openbravo/mobile/core/master/MasterDataModelConfigTest.java
---