Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0044821 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
defect | [Retail Modules] Discount Matrix Management | major | always | 2020-08-14 10:19 | 2024-05-28 08:02 | |||||||
Reporter | cdehen | View Status | public | |||||||||
Assigned To | Retail | |||||||||||
Priority | normal | Resolution | open | Fixed in Version | ||||||||
Status | new | Fix in branch | Fixed in SCM revision | |||||||||
Projection | none | ETA | none | Target Version | ||||||||
OS | Linux 64 bit | Database | PostgreSQL | Java version | 7.x | |||||||
OS Version | Openbravo Appliance 14.04 | Database version | 9.3.x | Ant version | 1.9.x | |||||||
Product Version | RR20Q1.2 | SCM revision | ||||||||||
Review Assigned To | ||||||||||||
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. | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | Patch.patch [^] (1,191 bytes) 2020-08-14 10:19 [Show Content] | |||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
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 |
Copyright © 2000 - 2009 MantisBT Group |