Openbravo Issue Tracking System - Retail Modules
View Issue Details
0024560Retail ModulesWeb POSpublic2013-08-22 12:022013-08-23 15:36
jecharri 
marvintm 
immediatemajoralways
closedfixed 
5
 
RMP24.1 
Production - Confirmed Stable
Yes
0024560: Division by zero error
Division by zero error
-Create a 100% of discount

-Go to web POS and apply the discount to one line

You will get "division by 0" error
Regression
diff issue24560.diff (1,211) 2013-08-23 15:35
https://issues.openbravo.com/file_download.php?file_id=6335&type=bug
Issue History
2013-08-22 12:02jecharriNew Issue
2013-08-22 12:02jecharriAssigned To => marvintm
2013-08-22 12:02jecharriResolution time => 1377727200
2013-08-22 12:02jecharriTriggers an Emergency Pack => No
2013-08-22 12:02jecharriRegression level => Production - Confirmed Stable
2013-08-22 12:02jecharriTriggers an Emergency PackNo => Yes
2013-08-22 12:02jecharriTag Attached: Regression
2013-08-22 12:12jecharriSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=4959#r4959
2013-08-23 15:34marvintmNote Added: 0060751
2013-08-23 15:35marvintmFile Added: issue24560.diff
2013-08-23 15:35marvintmStatusnew => scheduled
2013-08-23 15:35marvintmfix_in_branch => pi
2013-08-23 15:36marvintmNote Added: 0060752
2013-08-23 15:36marvintmStatusscheduled => resolved
2013-08-23 15:36marvintmResolutionopen => fixed
2013-08-23 15:36marvintmStatusresolved => closed

Notes
(0060751)
marvintm   
2013-08-23 15:34   
In fact, this issue was fixed as part of the fix for this issue:

https://issues.openbravo.com/view.php?id=24220 [^]

in this changeset(http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/06c07ab64e471265b0a5be947d2bf21e503300e5 [^]).

However, we assumed that it was working correctly in RMP24, without realising that in fact the problem already happened in RMP24.

The original patch cannot be applied to RMP24. I'm attaching a new patch to this issue, which can be applied correctly in RMP24.1.
(0060752)
marvintm   
2013-08-23 15:36   
This issue was already fixed in the main branch. The attached patch can be used to fix the issue in RMP24.