Openbravo Issue Tracking System - Retail Modules
View Issue Details
0032349Retail ModulesDiscounts and Promotionspublic2016-02-25 17:572016-02-25 18:33
plujan 
Retail 
normaltrivialhave not tried
newopen 
5
main 
 
No
0032349: [RR16Q1] Exception thrown in the backend when creating a Sales Order with large Packs
There is a button labelled "Add Pack" in the backend's Sales Order window. Using it opens a pop up, that has a field to introduce the number of packs.

While this field is limited to four digits (maximum of 9999) there is not limit when using the keypad, generating a Java.lang exception. See steps.
1. Login as WhiteValley Admin user
2. Go to Sales Order window
3. Create a header for any valid customer and save.
4. Click the button labelled "Add Pack"
5. A pop up is shown.
6. Check the field Quantity. Verify it is capped to 9999. (See attached image)
7. Click the calculator icon to open the numeric pad.
8. Enter twenty nines: 9999999999999999999
9. Click the equal sign to accept
10. A message "The value entered is not valid" is shown (See attached image)
11. Click the Ok button
12. An exception is shown:
java.lang.Exception: For input string: "999999999999999999999" (See attached image)
No tags attached.
png AddPack1.png (13,789) 2016-02-25 18:11
https://issues.openbravo.com/file_download.php?file_id=9109&type=bug
png

png AddPack2.png (15,582) 2016-02-25 18:11
https://issues.openbravo.com/file_download.php?file_id=9110&type=bug
png

png AddPack3.png (37,054) 2016-02-25 18:11
https://issues.openbravo.com/file_download.php?file_id=9111&type=bug
png
Issue History
2016-02-25 17:57plujanNew Issue
2016-02-25 17:57plujanAssigned To => Retail
2016-02-25 17:57plujanTriggers an Emergency Pack => No
2016-02-25 18:10plujanSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=11250#r11250
2016-02-25 18:11plujanFile Added: AddPack1.png
2016-02-25 18:11plujanFile Added: AddPack2.png
2016-02-25 18:11plujanFile Added: AddPack3.png
2016-02-25 18:12plujanSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=11251#r11251
2016-02-25 18:33plujanSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=11256#r11256

There are no notes attached to this issue.