Openbravo Issue Tracking System - Retail Modules
View Issue Details
0051849Retail ModulesWeb POSpublic2023-03-14 13:212023-03-20 13:50
caristu 
caristu 
highminorhave not tried
closedfixed 
5
 
RR23Q2 
No
0051849: Check for missing master data model index is wrong
When doing a query for a master data models with only the equals comparison, there is a check that verifies if there exists a proper index to do the query. In case it does not exist, the query fails throwing an error.

But unfortunately this check is not working properly.
1) Execute the attached test which builds a query that should fail due to not having the expected index. Note that the test fails.
No tags attached.
related to defect 0051940 closed caristu POS2 Wrong query in ProductScanProductInfo component 
diff test.diff (1,363) 2023-03-14 13:21
https://issues.openbravo.com/file_download.php?file_id=18261&type=bug
Issue History
2023-03-14 13:21caristuNew Issue
2023-03-14 13:21caristuAssigned To => Retail
2023-03-14 13:21caristuFile Added: test.diff
2023-03-14 13:21caristuTriggers an Emergency Pack => No
2023-03-14 13:21caristuAssigned ToRetail => caristu
2023-03-14 13:24hgbotNote Added: 0147520
2023-03-20 08:48hgbotResolutionopen => fixed
2023-03-20 08:48hgbotStatusnew => closed
2023-03-20 08:48hgbotNote Added: 0147684
2023-03-20 08:48hgbotFixed in Version => RR23Q2
2023-03-20 08:48hgbotNote Added: 0147685
2023-03-20 13:50hgbotNote Added: 0147707
2023-03-22 08:58caristuRelationship addedrelated to 0051940

Notes
(0147520)
hgbot   
2023-03-14 13:24   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/487 [^]
(0147684)
hgbot   
2023-03-20 08:48   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/487 [^]
(0147685)
hgbot   
2023-03-20 08:48   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: 6cc6383ba09064b3c407a569ebf4a4fe7e0cdd9e
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 20-03-2023 07:48:07
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/6cc6383ba09064b3c407a569ebf4a4fe7e0cdd9e [^]

fixes BUG-51849: fix missing MD model index check

---
M web-test/model/persistence/indexeddb/IndexedDBController.test.js
M web/org.openbravo.mobile.core/app/model/persistence/indexeddb/IndexedDBQuery.js
M web/org.openbravo.mobile.core/app/model/persistence/indexeddb/Model.js
---
(0147707)
hgbot   
2023-03-20 13:50   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: c79bf53033a92e79c007f7de43d614414fd51eb9
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 20-03-2023 13:48:18
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/c79bf53033a92e79c007f7de43d614414fd51eb9 [^]

related to BUG-51849: don't fail if query has no filter clause

---
M web/org.openbravo.mobile.core/app/model/persistence/indexeddb/IndexedDBQuery.js
---