Openbravo Issue Tracking System - Retail Modules
View Issue Details
0050860Retail ModulesWeb POSpublic2022-11-11 13:002022-12-01 07:22
ngarcia 
ranjith_qualiantech_com 
urgentmajorrandom
closedfixed 
5
 
RR23Q1 
No
0050860: Query for retrieving the Discount Filter Characteristics take too long
Query for retrieving the Discount Filter Characteristics take too long.

Error retrieving data for model DiscountFilterCharacteristic: Error: Failed to fetch; stackTrace: errorCallback (...);
MasterdataController.refreshMasterdata (...);
async MasterdataController.fullMasterdataRefresh (...)
In the customer instance, doing a full refresh, it finished with an error. Attached the query and its EXPLAIN ANALYZE
NOR
related to defect 0036175 closed ebecerra Perforamnce problems loading the master data for discounts. 
? ExplainAnalyzeFilterChar (11,029) 2022-11-11 13:00
https://issues.openbravo.com/file_download.php?file_id=17811&type=bug
txt queryFilterChar.txt (4,906) 2022-11-11 13:01
https://issues.openbravo.com/file_download.php?file_id=17812&type=bug
Issue History
2022-11-11 13:00ngarciaNew Issue
2022-11-11 13:00ngarciaAssigned To => Retail
2022-11-11 13:00ngarciaFile Added: ExplainAnalyzeFilterChar
2022-11-11 13:00ngarciaTriggers an Emergency Pack => No
2022-11-11 13:01ngarciaFile Added: queryFilterChar.txt
2022-11-11 13:08ngarciaRelationship addedrelated to 0036175
2022-11-23 11:49ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2022-11-23 11:50ranjith_qualiantech_comStatusnew => scheduled
2022-11-24 15:18sebastien_lironNote Added: 0144109
2022-11-24 15:19sebastien_lironIssue Monitored: egoitz
2022-11-24 15:20sebastien_lironNote Added: 0144110
2022-11-24 15:20sebastien_lironTag Attached: NOR
2022-11-25 06:55hgbotNote Added: 0144133
2022-11-30 12:26hgbotNote Added: 0144245
2022-11-30 13:35hgbotNote Added: 0144251
2022-12-01 07:22hgbotNote Added: 0144284
2022-12-01 07:22hgbotResolutionopen => fixed
2022-12-01 07:22hgbotStatusscheduled => closed
2022-12-01 07:22hgbotFixed in Version => RR23Q1
2022-12-01 07:22hgbotNote Added: 0144285

Notes
(0144109)
sebastien_liron   
2022-11-24 15:18   
egoitz has done some analysis already and a temp fix is available
(0144110)
sebastien_liron   
2022-11-24 15:20   
we change the date, as the subject has created a critical issue in a client prod today
(0144133)
hgbot   
2022-11-25 06:55   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/774 [^]
(0144245)
hgbot   
2022-11-30 12:26   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1001 [^]
(0144251)
hgbot   
2022-11-30 13:35   
Merge request closed: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/774 [^]
(0144284)
hgbot   
2022-12-01 07:22   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1001 [^]
(0144285)
hgbot   
2022-12-01 07:22   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: c2f70a7149b725fd85552006b5aa236822991653
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 01-12-2022 06:21:49
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/c2f70a7149b725fd85552006b5aa236822991653 [^]

Fixed ISSUE-50860: Removed Tree validation in DiscountFilter Characteristics

---
M src/org/openbravo/retail/posterminal/master/DiscountFilterCharacteristic.java
---