Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0030875 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | have not tried | 2015-09-21 13:19 | 2015-10-19 11:02 | |||
Reporter | marvintm | View Status | public | |||||
Assigned To | jorge-garcia | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | RR16Q1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | eced2bd0d535 | ||||
Projection | none | ETA | none | Target Version | RR16Q1 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | marvintm | |||||||
OBNetwork customer | OBPS | |||||||
Support ticket | 38352 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0030875: The pay button becomes indefinitely disabled when computing discounts | |||||||
Description | In very specific circumstances, the pay button may become indefinitely disabled when computing certain discounts. For this problem to happen, the following items must be true: - System needs to be not in development - There needs to be two discounts for the same rule type in the system, which apply to the same products, with different priority - The ticket must have more than one line, and these lines must all be affected by the same discounts If these conditions are true, the pay button becomes disabled if the discounts engine at some point finds a better discount than the one it had applied. | |||||||
Steps To Reproduce | - Define one discount, 3x2 in bottles (the one in the standard sampledata is fine), with priority 20 - Define another discount, 9x6 in bottles, with priority 10 - Ensure both discounts work for 1L bottle, and Plastic bottle - Go to the Web POS (in not in development mode) - Add one Plastic bottle product - Add (one by one), 8 units of 1L bottle. - Verify that after the eight one, the pay button becomes disabled and is never enabled. | |||||||
Proposed Solution | The executor engine must be changed to ensure that if an event is replaced, it's correctly terminated. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0081044) hgbot (developer) 2015-10-15 15:59 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: eced2bd0d5358958f36cba3829cce156c5774e12 Author: Jorge Garcia <jorge.garcia <at> openbravo.com> Date: Tue Oct 06 17:29:55 2015 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/eced2bd0d5358958f36cba3829cce156c5774e12 [^] Fixed issue 30875: The pay button becomes disabled when computing discounts The pay button becomes indefinitely disabled when computing discounts. --- M web/org.openbravo.retail.posterminal/js/model/executor.js --- |
(0081052) hgbot (developer) 2015-10-16 10:35 |
Repository: erp/pmods/org.openbravo.retail.sampledata Changeset: 90e8d6494f758ea476b6e1e90e4e958f266bfad9 Author: Jorge Garcia <jorge.garcia <at> openbravo.com> Date: Fri Oct 16 09:02:01 2015 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.sampledata/rev/90e8d6494f758ea476b6e1e90e4e958f266bfad9 [^] Related to issue 30875: The pay button is indefinitely disabled with discounts Changes on the sampledata are necessary for the test. --- M referencedata/sampledata/The_White_Valley_Group/M_OFFER.xml M referencedata/sampledata/The_White_Valley_Group/M_OFFER_PRODUCT.xml --- |
(0081053) hgbot (developer) 2015-10-16 10:35 |
Repository: tools/automation/pi-mobile Changeset: 17fb79c82dba2383bbbd55fbdd26e2b5e3f66dfd Author: Jorge Garcia <jorge.garcia <at> openbravo.com> Date: Fri Oct 16 09:03:29 2015 +0200 URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/17fb79c82dba2383bbbd55fbdd26e2b5e3f66dfd [^] Verify issue 30875: The pay button becomes indefinitely disabled with discounts Added test I30875_PayButtonIndefinitelyDisabled --- A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/discountsandpromotions/I30875_PayButtonIndefinitelyDisabled.java --- |
![]() |
|||
Date Modified | Username | Field | Change |
2015-09-21 13:19 | marvintm | New Issue | |
2015-09-21 13:19 | marvintm | Assigned To | => Retail |
2015-09-21 13:19 | marvintm | OBNetwork customer | => No |
2015-09-21 13:19 | marvintm | Triggers an Emergency Pack | => No |
2015-09-22 11:25 | egoitz | OBNetwork customer | No => Yes |
2015-09-22 11:25 | egoitz | Support ticket | => 38352 |
2015-09-22 11:25 | egoitz | Resolution time | => 1443650400 |
2015-09-22 11:26 | egoitz | Issue Monitored: egoitz | |
2015-10-05 12:07 | Orekaria | Status | new => scheduled |
2015-10-05 12:07 | Orekaria | Assigned To | Retail => jorge-garcia |
2015-10-15 15:59 | hgbot | Checkin | |
2015-10-15 15:59 | hgbot | Note Added: 0081044 | |
2015-10-15 15:59 | hgbot | Status | scheduled => resolved |
2015-10-15 15:59 | hgbot | Resolution | open => fixed |
2015-10-15 15:59 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/eced2bd0d5358958f36cba3829cce156c5774e12 [^] |
2015-10-16 10:35 | hgbot | Checkin | |
2015-10-16 10:35 | hgbot | Note Added: 0081052 | |
2015-10-16 10:35 | hgbot | Checkin | |
2015-10-16 10:35 | hgbot | Note Added: 0081053 | |
2015-10-19 11:02 | marvintm | Review Assigned To | => marvintm |
2015-10-19 11:02 | marvintm | Status | resolved => closed |
2015-10-19 11:02 | marvintm | Fixed in Version | => RR16Q1 |
Copyright © 2000 - 2009 MantisBT Group |