Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0031585 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Discounts and Promotions | major | always | 2015-11-25 18:31 | 2016-02-05 16:08 | |||
Reporter | malsasua | View Status | public | |||||
Assigned To | jorge-garcia | |||||||
Priority | high | Resolution | fixed | Fixed in Version | RR16Q2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 35b5fee77c43 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Linux 32 bit | Database | PostgreSQL | Java version | 1.6.0_18 | |||
OS Version | Community Appliance | Database version | 8.3.9 | Ant version | 1.7.1 | |||
Product Version | SCM revision | |||||||
Review Assigned To | marvintm | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0031585: when more than 10 discount combos are added to the receipt, chrome crash | |||||||
Description | with the combos module, if you create a receipt with more than 10 discount combos the chrome crash | |||||||
Steps To Reproduce | . install combo discounts module (org.openbravo.retail.discounts.combo) . install best deal module (org.openbravo.retail.discounts.bestdeal) in backoffice: . create thtree new discounts type combo: discount: combo1 . Family: F1 qty 2 prods: p1 p2 discount: combo2 . Family: F2 qty 2 prods: p3 p4 ... discount: combo 10 . Family: F10 qty 2 prods: p5 p6 . enable best deal case (see http://wiki.openbravo.com/wiki/Retail:Promotions_Best_Deal_Case [^] [^]) | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||||||||
|
Notes | |
(0083928) hgbot (developer) 2016-02-04 15:59 |
Repository: erp/pmods/org.openbravo.retail.discounts.bestdeal Changeset: 35b5fee77c43ea94dd949db47b141023fc4a8f0a Author: Jorge Garcia <jorge.garcia <at> openbravo.com> Date: Thu Feb 04 15:50:18 2016 +0100 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts.bestdeal/rev/35b5fee77c43ea94dd949db47b141023fc4a8f0a [^] Fixed issue 31585: when more than 10 discount combos are added to the receipt, chrome crash The problem were in two parts. The first part is the quantity of products in the receipt, and the second part is the quantity of possible promotions that can be applied to the products. This two parts causes that Chrome crash ( Chrome crash beetween 3 and 4 million of possible combinations for 42 products). The solution is to reduce that number, so now, a new constant is defined. The constant is a calculation of number of possible combinations multiply by the number of products in the receipt. Rigth now, to be able to use this functionality in a tablet, the maximun number is 100.000 combinations for 100 products defined in the receipt. --- M web/org.openbravo.retail.discounts.bestdeal/source/discounts-best-deal-case.js --- |
Issue History | |||
Date Modified | Username | Field | Change |
2015-11-25 18:31 | malsasua | New Issue | |
2015-11-25 18:31 | malsasua | Assigned To | => Retail |
2015-11-25 18:31 | malsasua | Resolution time | => 1451775600 |
2015-11-25 18:31 | malsasua | Triggers an Emergency Pack | => No |
2015-11-25 18:31 | malsasua | Relationship added | related to 0031073 |
2015-11-25 18:32 | malsasua | Relationship added | related to 0027960 |
2015-11-25 18:40 | malsasua | Note Added: 0082350 | |
2015-11-26 10:02 | Orekaria | Status | new => acknowledged |
2015-12-02 19:50 | malsasua | Resolution time | 1451775600 => 1449442800 |
2015-12-30 16:28 | Orekaria | Note Deleted: 0082350 | |
2016-01-29 09:20 | jorge-garcia | Assigned To | Retail => jorge-garcia |
2016-01-29 09:20 | jorge-garcia | Status | acknowledged => scheduled |
2016-02-04 15:59 | hgbot | Checkin | |
2016-02-04 15:59 | hgbot | Note Added: 0083928 | |
2016-02-04 15:59 | hgbot | Status | scheduled => resolved |
2016-02-04 15:59 | hgbot | Resolution | open => fixed |
2016-02-04 15:59 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts.bestdeal/rev/35b5fee77c43ea94dd949db47b141023fc4a8f0a [^] |
2016-02-05 16:08 | marvintm | Review Assigned To | => marvintm |
2016-02-05 16:08 | marvintm | Status | resolved => closed |
2016-02-05 16:08 | marvintm | Fixed in Version | => RR16Q2 |
Copyright © 2000 - 2009 MantisBT Group |