Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
| ID | ||||||||||||
| 0049404 | ||||||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
| defect | [Retail Modules] Discounts and Promotions | minor | have not tried | 2022-05-25 09:58 | 2022-05-25 09:58 | |||||||
| Reporter | cberner | View Status | public | |||||||||
| Assigned To | Retail | |||||||||||
| Priority | normal | Resolution | open | Fixed in Version | ||||||||
| Status | new | Fix in branch | Fixed in SCM revision | |||||||||
| Projection | none | ETA | none | Target Version | ||||||||
| OS | Any | Database | Any | Java version | ||||||||
| OS Version | Database version | Ant version | ||||||||||
| Product Version | SCM revision | |||||||||||
| Merge Request Status | ||||||||||||
| Review Assigned To | ||||||||||||
| OBNetwork customer | No | |||||||||||
| Support ticket | ||||||||||||
| Regression level | ||||||||||||
| Regression date | ||||||||||||
| Regression introduced in release | ||||||||||||
| Regression introduced by commit | ||||||||||||
| Triggers an Emergency Pack | No | |||||||||||
| Summary | 0049404: Propertycondition module does a query without limit for each discount rule, this may be performance heavy | |||||||||||
| Description | When 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 | - | |||||||||||
| Tags | No tags attached. | |||||||||||
| Attached Files | ||||||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
|
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 | OBNetwork customer | => No |
| 2022-05-25 09:58 | cberner | Triggers an Emergency Pack | => No |
| Copyright © 2000 - 2009 MantisBT Group |