Openbravo Issue Tracking System - Retail Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0044821 | Retail Modules | Discount Matrix Management | public | 2020-08-14 10:19 | 2024-05-28 08:02 |
Reporter | cdehen | ||||
Assigned To | Retail | ||||
Priority | normal | Severity | major | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | OS | 30 | OS Version | Openbravo Appliance 14.04 | |
Product Version | RR20Q1.2 | ||||
Target Version | Fixed in Version | ||||
Merge Request Status | |||||
Review Assigned To | |||||
OBNetwork customer | |||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0044821: Crash WebPOS (freeze) with I.N.F.I.N.I.T.Y error in console JS | ||||
Description | When you use the module Discount Matrix Management and you you try to do a ticket with a negative line (for example use a gift card). The module try to calculate if the line need an approbation on this kind of line When you click on payment button you have an infinity error (divided by 0). | ||||
Steps To Reproduce | Create a ticket with one or several items. Uses a gift card who add a line in negative price on the ticket Add a new item after this gift card Click on payment button --> Web POS freeze with INFINITY Error | ||||
Proposed Solution | Finally the problem is a divide by zero in JS You can just ignore line with negative price. You can apply this provide patch to fix it. | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | Patch.patch (1,191) 2020-08-14 10:19 https://issues.openbravo.com/file_download.php?file_id=14869&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2020-08-14 10:19 | cdehen | New Issue | |||
2020-08-14 10:19 | cdehen | Assigned To | => Retail | ||
2020-08-14 10:19 | cdehen | File Added: Patch.patch | |||
2020-08-14 10:19 | cdehen | Triggers an Emergency Pack | => No | ||
2024-05-28 08:02 | guillermogil | Severity | critical => major |
There are no notes attached to this issue. |