Openbravo Issue Tracking System - Retail Modules
View Issue Details
0056549Retail ModulesMulti UPC/EAN for Productpublic2024-09-25 12:302024-10-18 13:04
malsasua 
SABARINATH P 
highmajoralways
closedfixed 
5
 
 
No
0056549: after incremental refresh process, the first scan is slow
With big volume of data (40K products), after incremental refresh process is executed, the first scan is slow:
https://drive.google.com/file/d/1HtPo4wiPDht52Dt3tueyMlRRlQwKminp/view?usp=sharing [^]

This issue is caused because a search is triggered by the MultiUpc module, but the database is busy "Loading cache for Model." Until the database completes the cache loading process, the MultiUpc query is not executed.

The query is executed in this line:
https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.multiupc/-/blob/master/web/org.openbravo.retail.multiupc/js/extendUPCSearch.js?ref_type=heads#L71 [^]

 
. in environment with 40K products, install multiupc module
. execute incremental refresh
. scan a product
. if the database is executing the cache loading process, then execute the product search as remote
No tags attached.
Issue History
2024-09-25 12:30malsasuaNew Issue
2024-09-25 12:30malsasuaAssigned To => Retail
2024-09-25 12:30malsasuaTriggers an Emergency Pack => No
2024-09-25 12:44PracticsIssue Monitored: Practics
2024-09-27 10:59guillermogilStatusnew => acknowledged
2024-10-01 07:29SABARINATH PAssigned ToRetail => SABARINATH P
2024-10-01 07:29SABARINATH PStatusacknowledged => scheduled
2024-10-18 09:02hgbotNote Added: 0170558
2024-10-18 13:04hgbotNote Added: 0170567
2024-10-18 13:04hgbotResolutionopen => fixed
2024-10-18 13:04hgbotStatusscheduled => closed
2024-10-18 13:04hgbotNote Added: 0170568

Notes
(0170558)
hgbot   
2024-10-18 09:02   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.multiupc/-/merge_requests/26 [^]
(0170567)
hgbot   
2024-10-18 13:04   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.multiupc/-/merge_requests/26 [^]
(0170568)
hgbot   
2024-10-18 13:04   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.multiupc [^]
Changeset: 6d8d373831477aeeebbfa23297e2dfafd3990c7f
Author: Sabarinath <s.palanisamy@external.orisha.com>
Date: 18-10-2024 14:15:16
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.multiupc/-/commit/6d8d373831477aeeebbfa23297e2dfafd3990c7f [^]

Fixed ISSUE-56549:Remote product search triggered when cache loading was in process.

---
M web/org.openbravo.retail.multiupc/js/extendUPCSearch.js
---