Anonymous | Login
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Discounts and Promotionsminorhave not tried2022-05-25 09:582022-05-25 09:58
ReportercbernerView Statuspublic 
Assigned ToRetail 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo

0049404: Propertycondition module does a query without limit for each discount rule, this may be performance heavy

DescriptionWhen loading the discount cache, the org.openbravo.discounts.propertycondition module adds a hook that adds some info to the discount rules. In particular it does that by doing a query to MasterdataModel DiscountPropertyCRMFilters for each discount rule, that seems to be excessive.

There should be only 1 query to the MasterdataModel and then the filtering should be done in memory for each rule.
Steps To Reproduce-
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2022-05-25 09:58 cberner New Issue
2022-05-25 09:58 cberner Assigned To => Retail
2022-05-25 09:58 cberner Triggers an Emergency Pack => No

Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker