Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0027690 | Retail Modules | Discounts and Promotions | public | 2014-09-25 18:49 | 2014-10-02 17:00 |
|
Reporter | jonalegriaesarte | |
Assigned To | marvintm | |
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | RR14Q4 | |
Merge Request Status | |
Review Assigned To | migueldejuana |
OBNetwork customer | |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0027690: Best deal case take too long in some cases |
Description | Best deal case take too long in some cases. It depends on the options to analyze due to the combos, packs included in the ticket. |
Steps To Reproduce | Example of configuration:
2 x Combo 1 = 4 product a
4 product b
2 product c
1x product d
1x product e
1x product f
The application will freeze for at least 10 minutes before it goes to the next screen.
|
Proposed Solution | We can provide an environment where the configuration described takes some minutes to finish |
Additional Information | |
Tags | No tags attached. |
Relationships | has duplicate | defect | 0031073 | | closed | Retail | when several combos are added to the receipt, chrome crash |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2014-09-25 18:49 | jonalegriaesarte | New Issue | |
2014-09-25 18:49 | jonalegriaesarte | Assigned To | => marvintm |
2014-09-25 18:49 | jonalegriaesarte | Resolution time | => 1410472800 |
2014-09-25 18:49 | jonalegriaesarte | Triggers an Emergency Pack | => No |
2014-09-25 18:53 | marvintm | Note Added: 0070396 | |
2014-09-25 19:01 | hgbot | Checkin | |
2014-09-25 19:01 | hgbot | Note Added: 0070397 | |
2014-09-25 19:28 | hgbot | Checkin | |
2014-09-25 19:28 | hgbot | Note Added: 0070400 | |
2014-09-25 19:31 | hgbot | Checkin | |
2014-09-25 19:31 | hgbot | Note Added: 0070401 | |
2014-09-25 19:31 | hgbot | Status | new => resolved |
2014-09-25 19:31 | hgbot | Resolution | open => fixed |
2014-09-25 19:31 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts.bestdeal/rev/d43b20a1455b593e64be0f0a3c1a17514e8d70b5 [^] |
2014-09-25 20:26 | hgbot | Checkin | |
2014-09-25 20:26 | hgbot | Note Added: 0070408 | |
2014-09-25 20:28 | hgbot | Checkin | |
2014-09-25 20:28 | hgbot | Note Added: 0070409 | |
2014-10-02 17:00 | migueldejuana | Review Assigned To | => migueldejuana |
2014-10-02 17:00 | migueldejuana | Note Added: 0070666 | |
2014-10-02 17:00 | migueldejuana | Status | resolved => closed |
2014-10-02 17:00 | migueldejuana | Fixed in Version | => RR14Q4 |
2015-10-27 13:27 | marvintm | Relationship added | has duplicate 0031073 |
Notes |
|
|
The cause of this problem is the pre filtering phase of the best deal case computation. This pre filtering will take too much time in case of a huge amount of potential combinations. Two changes will be implemented:
- Some performance improvements will be applied so that the pre filtering phase takes less time per combination checked.
- A maximum number of combinations to filter will be set, in case the organization has the preference defined to block the best deal case calculation in case the current ticket is too complex |
|
|
(0070397)
|
hgbot
|
2014-09-25 19:01
|
|
|
|
(0070400)
|
hgbot
|
2014-09-25 19:28
|
|
|
|
(0070401)
|
hgbot
|
2014-09-25 19:31
|
|
Repository: erp/pmods/org.openbravo.retail.discounts.bestdeal
Changeset: d43b20a1455b593e64be0f0a3c1a17514e8d70b5
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Thu Sep 25 19:31:14 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts.bestdeal/rev/d43b20a1455b593e64be0f0a3c1a17514e8d70b5 [^]
Fixed issue 27690. Added check to stop the best deal case calculation in case the amount of prefiltered combinations is too big, and the 'stop long bdc' preference is set in the organization.
---
M web/org.openbravo.retail.discounts.bestdeal/source/discounts-best-deal-case.js
---
|
|
|
(0070408)
|
hgbot
|
2014-09-25 20:26
|
|
|
|
(0070409)
|
hgbot
|
2014-09-25 20:28
|
|
|
|
|
Tested and reviewed in 7df701d05751 |
|