Openbravo Issue Tracking System - Retail Modules
View Issue Details
0042887Retail ModulesWeb POSpublic2020-01-15 14:112020-01-15 14:11
plujan 
Retail 
normalminorhave not tried
newopen 
5
main 
 
No
0042887: [20Q1] [Document Padding] The number of digits allowed for the field is not validated
Since the implementation of FR 0037535 in 19Q1 it is now possible to set the length of the Document No.

But this length is accepting values larger than a) The underlying Java Long can accept and b) than the webPOS can display on screen.
1. Access to "Channel - Touchpoint" backoffice window
2. Find the record (VBS-1) VBS POS Terminal Type
3. Locate the field "Order Document No Padding". Its default value is 7.
4. Change the value to 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
5. Save. Notice the non catch exception (the number is bigger than a Java Long)
6. Change the value again, now to 999999999999999999999
7. Save. This time the value is accepted.
8. Enter VBS-1 webPOS terminal and create a new receipt. Notice the page cannot be properly drawn and after a while Chrome asks for the tab to be killed.
No tags attached.
Issue History
2020-01-15 14:11plujanNew Issue
2020-01-15 14:11plujanAssigned To => Retail
2020-01-15 14:11plujanTriggers an Emergency Pack => No

There are no notes attached to this issue.