Openbravo Issue Tracking System - POS2 |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0048802 | POS2 | POS | public | 2022-03-15 17:07 | 2022-03-29 17:20 |
|
Reporter | jmelin | |
Assigned To | elara | |
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 30 | OS Version | Openbravo Appliance 14.04 |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0048802: JIRA 2759 - POP - Qty input in POP "Select product from orders" needs to be validated |
Description | When trying to import a proof of payment, the following error is triggered :
org.openbravo.base.validation.ValidationException: OBPOS2_Pop_Lines.originalFraction: Value too long. Length 34, maximum allowed 9
This happen because you can enter a value that is not a number |
Steps To Reproduce | Connect to livebuild backoffice
Create a "Proof of payment wrapper" entry in the corresponding windows
In "Organization", select "vallblanca store" and then tab "Proof of payment wrapper"
Add the prevoius wrapper and set to active
Connect to livebuild VBS2
Create an order with several product and pay it
Click on "Last Order PoP" and click "Create new" then "select products from order"
CLick on the field to edit the quantity of a product manually
In the pinpad, click on the button "x/y"
Type "111111111/222222222" in the field
click on the button "x/y" again then "OK"
validate the Pop and print "All"
In the BO, the import is in error |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0048805 | | closed | elara | JIRA 2766: Errors while importing POP should not block cashup |
|
Attached Files | jsondata.json (2,907) 2022-03-15 17:31 https://issues.openbravo.com/file_download.php?file_id=16761&type=bug erreormessage (5,557) 2022-03-15 17:31 https://issues.openbravo.com/file_download.php?file_id=16762&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2022-03-15 17:07 | jmelin | New Issue | |
2022-03-15 17:07 | jmelin | Assigned To | => Retail |
2022-03-15 17:07 | jmelin | Triggers an Emergency Pack | => No |
2022-03-15 17:08 | jmelin | Assigned To | Retail => jmelin |
2022-03-15 17:30 | jmelin | Assigned To | jmelin => Retail |
2022-03-15 17:30 | jmelin | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=23779#r23779 |
2022-03-15 17:31 | jmelin | File Added: jsondata.json | |
2022-03-15 17:31 | jmelin | File Added: erreormessage | |
2022-03-15 18:05 | guilleaer | Relationship added | related to 0048805 |
2022-03-16 09:28 | guilleaer | Summary | JIRA 2759 - POP - ValidationException when trying to import proof of payment => JIRA 2759 - POP - Qty input in POP "Select product from orders" needs to be validated |
2022-03-17 10:19 | javierRodriguez | Status | new => scheduled |
2022-03-17 10:19 | javierRodriguez | Assigned To | Retail => javierRodriguez |
2022-03-18 13:10 | hgbot | Note Added: 0135852 | |
2022-03-18 16:53 | hgbot | Resolution | open => fixed |
2022-03-18 16:53 | hgbot | Status | scheduled => closed |
2022-03-18 16:53 | hgbot | Note Added: 0135858 | |
2022-03-18 16:53 | hgbot | Note Added: 0135859 | |
2022-03-23 14:49 | jmelin | Assigned To | javierRodriguez => guilleaer |
2022-03-23 14:49 | jmelin | Note Added: 0135969 | |
2022-03-23 14:49 | jmelin | Status | closed => new |
2022-03-23 14:49 | jmelin | Resolution | fixed => open |
2022-03-23 14:51 | jmelin | Note Added: 0135971 | |
2022-03-23 14:57 | jmelin | Note Added: 0135972 | |
2022-03-25 17:26 | elara | Assigned To | guilleaer => elara |
2022-03-25 21:20 | elara | Status | new => scheduled |
2022-03-28 17:12 | hgbot | Note Added: 0136103 | |
2022-03-29 17:20 | hgbot | Note Added: 0136136 | |
2022-03-29 17:20 | hgbot | Resolution | open => fixed |
2022-03-29 17:20 | hgbot | Status | scheduled => closed |
2022-03-29 17:20 | hgbot | Note Added: 0136137 | |
Notes |
|
(0135852)
|
hgbot
|
2022-03-18 13:10
|
|
|
|
(0135858)
|
hgbot
|
2022-03-18 16:53
|
|
|
|
(0135859)
|
hgbot
|
2022-03-18 16:53
|
|
|
|
(0135969)
|
jmelin
|
2022-03-23 14:49
|
|
Connect to livebuild backoffice
Create a "Proof of payment wrapper" entry in the corresponding windows
In "Organization", select "vallblanca store" and then tab "Proof of payment wrapper"
Add the prevoius wrapper and set to active
Connect to livebuild VBS2
Create an order with several product and pay it
Click on "Last Order PoP" and click "Create new" then "select products from order"
CLick on the field to edit the quantity of a product manually
In the pinpad, click on the button "x/y"
Type "5"
Then "OK"
=> nothing happen, in Console, you can see the following
"Uncaught (in promise) dodivide(): Divide by 0" |
|
|
(0135971)
|
jmelin
|
2022-03-23 14:51
|
|
Other case:
Connect to livebuild VBS2
Create an order with several product and pay it
Click on "Last Order PoP" and click "Create new" then "select products from order"
CLick on the field to edit the quantity of a product manually
In the pinpad, click on the button "x/y"
Type "5", click on "x/y" again
Select the 0 from "0/5" and remove it (backspace)
Then "OK"
=> nothing happen, in Console, you can see the following
"FractionIncrementalInput.jsx:129 Uncaught (in promise) BigDecimal(): Not a number: " |
|
|
(0135972)
|
jmelin
|
2022-03-23 14:57
|
|
Other case:
Connect to livebuild VBS2
Create an order with several product and pay it
Click on "Last Order PoP" and click "Create new" then "select products from order"
CLick on the field to edit the quantity of a product manually
In the pinpad, click on the button "x/y"
Type "1/11711"
Then "OK" |
|
|
(0136103)
|
hgbot
|
2022-03-28 17:12
|
|
|
|
(0136136)
|
hgbot
|
2022-03-29 17:20
|
|
|
|
(0136137)
|
hgbot
|
2022-03-29 17:20
|
|
|