Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0044821
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Discount Matrix Managementmajoralways2020-08-14 10:192024-05-28 08:02
ReportercdehenView Statuspublic 
Assigned ToRetail 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSLinux 64 bitDatabasePostgreSQLJava version7.x
OS VersionOpenbravo Appliance 14.04Database version9.3.xAnt version1.9.x
Product VersionRR20Q1.2SCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0044821: Crash WebPOS (freeze) with I.N.F.I.N.I.T.Y error in console JS

DescriptionWhen 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 ReproduceCreate 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 SolutionFinally 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.
TagsNo tags attached.
Attached Filespatch file icon Patch.patch [^] (1,191 bytes) 2020-08-14 10:19 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- 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
Powered by Mantis Bugtracker