Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0057873Openbravo ERPI. Performancepublic2025-02-05 13:182025-03-29 08:07
sofidossant 
AugustoMauch 
normalminoralways
closedduplicate 
5
PR20Q3.4 
 
Gold
Core
110115
No
0057873: Performance error with Assortment
We got the error: The query took longer than expected and has been canceled. Please enter a more restrictive criteria to try to make the query faster

When we want to filter the tab “Product” in the Assortment.
It is by the amount of products that the assortment has loaded but cannot filter the product.

Part of the problem is the number of read organizations that this role has access to.
With fewer organizations (e.g. 5), an index is used.
But for example, at 10 or more, no index is used.

Then adding the index is most likely useless, because it seems that there is already another one that can be used in other conditions.
1 - The error is reproduced if we have many organizations and the role we use has access to them.

2 - Search for a product in an assortment relationship with an organization that is a parent of many organizations.
No tags attached.
Issue History
2025-02-05 13:18sofidossantNew Issue
2025-02-05 13:18sofidossantAssigned To => Triage Platform Base
2025-02-05 13:18sofidossantOBNetwork customer => Gold
2025-02-05 13:18sofidossantModules => Core
2025-02-05 13:18sofidossantSupport ticket => 110115
2025-02-05 13:18sofidossantTriggers an Emergency Pack => No
2025-02-21 10:03AugustoMauchAssigned ToTriage Platform Base => AugustoMauch
2025-02-21 10:03AugustoMauchStatusnew => acknowledged
2025-03-29 08:07AugustoMauchStatusacknowledged => scheduled
2025-03-29 08:07AugustoMauchNote Added: 0177697
2025-03-29 08:07AugustoMauchStatusscheduled => closed
2025-03-29 08:07AugustoMauchResolutionopen => duplicate

Notes
(0177697)
AugustoMauch   
2025-03-29 08:07   
Exported to Jira: https://openbravo.atlassian.net/browse/RM-17810 [^]