Openbravo Issue Tracking System - POS2
View Issue Details
0057811POS2Corepublic2025-01-17 15:012025-02-09 10:34
javietxe 
ranjith_qualiantech_com 
normalmajorhave not tried
closedfixed 
5
 
25Q1 
approved
Gold
Production - Confirmed Stable
2021-07-13
22Q3
https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/46efcd6d2a6fbf6c2fbd8b6a1c417ec46a4cd465 [^]
No
0057811: Problem in masterdata search
When an incremental masterdata happens and a new product comes, this new product is not appearing in the masterdata cache
For reproducing the error with the product flow:
- Load a POS
- Check the products loaded OB.App.MasterdataModels.Product.searchCache. (number of products: X).
- Create a new product, add it to the pricelist and to the assortment
- Wait for the incremental load in background.
- When the incremental is done, reload the POS with the reload button of the browser or F5
- When entering again to the POS, we see that in indexeddb all the products are appearing (number of products: X + 1) but in MasterdataModels.Product.searchCache we still don't have the new product (number of products: X)
- When doing a query to this model without any criteria, the new product is not appearing (number of products: X), while every product is expected (number of products: X + 1).
No tags attached.
blocks defect 0057685 closed ranjith_qualiantech_com Problem in masterdata search 
Issue History
2025-01-30 17:34marvintmTypedefect => backport
2025-01-30 17:34marvintmTarget Version => 25Q1
2025-02-02 12:20hgbotNote Added: 0174995
2025-02-02 12:20hgbotNote Added: 0174996
2025-02-09 10:34hgbotNote Added: 0175328
2025-02-09 10:34hgbotNote Added: 0175329
2025-02-09 10:34hgbotResolutionopen => fixed
2025-02-09 10:34hgbotStatusscheduled => closed
2025-02-09 10:34hgbotNote Added: 0175330
2025-02-09 10:34hgbotFixed in Version => RR25Q1
2025-02-09 10:34hgbotNote Added: 0175331

Notes
(0174995)
hgbot   
2025-02-02 12:20   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1748 [^]
(0174996)
hgbot   
2025-02-02 12:20   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/816 [^]
(0175328)
hgbot   
2025-02-09 10:34   
Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: ab0aa018b8df8d4dae0a59a89857d89c9ab2a2f0
Author: Ranjith S R <r.rangaraju@external.orisha.com>
Date: 02-02-2025 15:49:42
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.core2/-/commit/ab0aa018b8df8d4dae0a59a89857d89c9ab2a2f0 [^]

Related to ISSUE-57811: Removed MasterData ReloadApp configuration

This reverts commit 719ecd45bb8379b4d1a1344870e018d68bc370b0

---
M web-jspack/org.openbravo.core2/src/authentication/loginInitActions.js
---
(0175329)
hgbot   
2025-02-09 10:34   
Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1748 [^]
(0175330)
hgbot   
2025-02-09 10:34   
Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/816 [^]
(0175331)
hgbot   
2025-02-09 10:34   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: 4bce247b12b5bb7bab29245963d8dfcd00cf6f7e
Author: Ranjith S R <r.rangaraju@external.orisha.com>
Date: 09-02-2025 09:34:32
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/4bce247b12b5bb7bab29245963d8dfcd00cf6f7e [^]

Fixed ISSUE-57811: Removed validation of preventing cache update when reloading POS

This reverts commit 46efcd6d2a6fbf6c2fbd8b6a1c417ec46a4cd465

---
M web/org.openbravo.mobile.core/app/model/masterdata/MasterdataController.js
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---