Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0030942 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
design defect | [Retail Modules] Web POS | major | always | 2015-09-26 22:29 | 2015-09-30 10:52 | |||
Reporter | Orekaria | View Status | public | |||||
Assigned To | Orekaria | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | RR15Q4 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 27aaede86645 | ||||
Projection | none | ETA | none | Target Version | RR15Q4 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | guilleaer | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0030942: Events are being fired when the applyDiscounts tries to prevent infinite loop | |||||||
Description | Events are being fired when the applyDiscounts tries to prevent infinite loop | |||||||
Steps To Reproduce | In the discounts.js file Verify that the new variables set with receipt.set, are not being silented | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||||||||
|
Notes | |
(0080656) hgbot (developer) 2015-09-26 22:54 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: 27aaede86645e84f57f5bf272b0790d4f9436f0a Author: Rafa Alonso <ral <at> openbravo.com> Date: Sat Sep 26 22:53:19 2015 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/27aaede86645e84f57f5bf272b0790d4f9436f0a [^] Fixes issue 30942: Silently set values in the applyPromotions logic The problem is that when a value is set in a backbone model, the 'change' event is being fired. If any event is fired while the discount algorithm is being executed, it could lead to unwanted processes being executed or wrong UI rendering updates --- M web/org.openbravo.retail.posterminal/js/model/discounts.js --- |
Issue History | |||
Date Modified | Username | Field | Change |
2015-09-26 22:29 | Orekaria | New Issue | |
2015-09-26 22:29 | Orekaria | Assigned To | => Orekaria |
2015-09-26 22:29 | Orekaria | Triggers an Emergency Pack | => No |
2015-09-26 22:30 | Orekaria | Relationship added | caused by 0030498 |
2015-09-26 22:30 | Orekaria | Review Assigned To | => guilleaer |
2015-09-26 22:43 | Orekaria | Regression level | => Automated tests |
2015-09-26 22:43 | Orekaria | Regression introduced by commit | => https://issues.openbravo.com/view.php?id=30498 [^] |
2015-09-26 22:43 | Orekaria | Regression level | Automated tests => |
2015-09-26 22:43 | Orekaria | Regression introduced by commit | https://issues.openbravo.com/view.php?id=30498 [^] => |
2015-09-26 22:44 | Orekaria | Steps to Reproduce Updated | View Revisions |
2015-09-26 22:47 | Orekaria | Type | defect => design defect |
2015-09-26 22:54 | hgbot | Checkin | |
2015-09-26 22:54 | hgbot | Note Added: 0080656 | |
2015-09-26 22:54 | hgbot | Status | new => resolved |
2015-09-26 22:54 | hgbot | Resolution | open => fixed |
2015-09-26 22:54 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/27aaede86645e84f57f5bf272b0790d4f9436f0a [^] |
2015-09-26 22:59 | Orekaria | Relationship added | related to 0029445 |
2015-09-30 10:52 | guilleaer | Status | resolved => closed |
2015-09-30 10:52 | guilleaer | Fixed in Version | => RR15Q4 |
Copyright © 2000 - 2009 MantisBT Group |