Openbravo Issue Tracking System - Retail Modules | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0049404 | Retail Modules | Discounts and Promotions | public | 2022-05-25 09:58 | 2022-05-25 09:58 |
| Reporter | cberner | ||||
| Assigned To | Retail | ||||
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | new | Resolution | open | ||
| Platform | OS | 5 | OS Version | ||
| Product Version | |||||
| Target Version | Fixed in Version | ||||
| 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 | - | ||||
| Proposed Solution | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| 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 | ||
| There are no notes attached to this issue. |