Openbravo Issue Tracking System - Retail Modules
View Issue Details
0029549Retail ModulesCash uppublic2015-04-09 13:272015-08-21 12:29
lorenzofidalgo 
Osmany 
normalminoralways
closedfixed 
5
main 
RR15Q4 
marvintm
No
0029549: Uncaught error is shown where NaN ('+','-','%'...) is introduced in certain cash up field
Introducing something that is not a number in certain field during cash up process. (Step 3 of 5: Count Cash) induces an uncaught error.

ERROR: posterminal.main.js: Uncaught BigDecimal(): Not a number: N,a,N; line: http://localhost/openbravo/web/org.openbravo.mobile.core/lib/vendor/bigdecimal-1.0.1.min.js:14 [^]
Login POS as vallblanca//openbravo
Start a cash up process.
Go next until third step (Step 3 of 5: Count Cash) is reached.
Click "Card" button and when it is green (marked), click in '%' and enter button.

Defect: Uncaught error is shown. This also happends if a NaN character is introduced, like a letter or '+'.
No tags attached.
png UncaughtErrorNaN.png (248,896) 2015-04-09 13:27
https://issues.openbravo.com/file_download.php?file_id=7970&type=bug
png
Issue History
2015-04-09 13:27lorenzofidalgoNew Issue
2015-04-09 13:27lorenzofidalgoAssigned To => Retail
2015-04-09 13:27lorenzofidalgoFile Added: UncaughtErrorNaN.png
2015-04-09 13:27lorenzofidalgoTriggers an Emergency Pack => No
2015-07-21 22:02OsmanyAssigned ToRetail => Osmany
2015-07-21 22:03hgbotCheckin
2015-07-21 22:03hgbotNote Added: 0079012
2015-07-21 22:03hgbotStatusnew => resolved
2015-07-21 22:03hgbotResolutionopen => fixed
2015-07-21 22:03hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/18d2b28ea263cd77a0b0c10e08b146580a0673e9 [^]
2015-08-21 12:29marvintmReview Assigned To => marvintm
2015-08-21 12:29marvintmStatusresolved => closed
2015-08-21 12:29marvintmFixed in Version => RR15Q4

Notes
(0079012)
hgbot   
2015-07-21 22:03   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 18d2b28ea263cd77a0b0c10e08b146580a0673e9
Author: Osmany Garcia Machado <osmany.machado <at> peoplewalking.com>
Date: Tue Jul 21 14:03:22 2015 -0600
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/18d2b28ea263cd77a0b0c10e08b146580a0673e9 [^]

Fixed issue 29549: Uncaught error is shown where NaN ('+','-','%'...) is introduced in certain cash up field.

---
M web/org.openbravo.retail.posterminal/js/closecash/view/closekeyboard.js
---