Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0048947
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POScriticalsometimes2022-03-31 15:312022-05-17 23:05
Reportertimothee_catteeuwView Statuspublic 
Assigned Toablasco 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0048947: JIRA 2845 - Error when trying to import a sale in “Error while importing POS data”

DescriptionIf you reopended an order with a menu , review payment and click on the “Done” button

Then a “Order” message is sent to the BO and fails in error in “Error while importing POS data” with the message below:
org.codehaus.jettison.json.JSONException: JSONArray[0] not found.
at org.codehaus.jettison.json.JSONArray.get(JSONArray.java:174)
at org.codehaus.jettison.json.JSONArray.getJSONObject(JSONArray.java:266)
at org.openbravo.pos2.restaurant.hook.AddMenuItemsToLine.addMenuItem(AddMenuItemsToLine.java:76)
at org.openbravo.pos2.restaurant.hook.AddMenuItemsToLine.exec(AddMenuItemsToLine.java:63)
....
Steps To ReproduceConnect to POS VBS-2
Create an order with a menu and finalize it
Go to "Orders" window and open the previous order
Click on "Review payments"
Click on "Done" button

Connect to BO and open window "Error while importing POS data"
=> KO, you have an error "org.codehaus.jettison.json.JSONException: JSONArray[0] not found."
TagsNo tags attached.
Attached Files? file icon 2022-05-04_15-23-53.mp4 [^] (1,295,728 bytes) 2022-05-04 15:27

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0137262)
hgbot (developer)
2022-05-13 11:40

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant/-/merge_requests/143 [^]
(0137396)
hgbot (developer)
2022-05-17 17:55

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant/-/merge_requests/143 [^]

- Issue History
Date Modified Username Field Change
2022-03-31 15:31 timothee_catteeuw New Issue
2022-03-31 15:31 timothee_catteeuw Assigned To => Retail
2022-03-31 15:31 timothee_catteeuw Triggers an Emergency Pack => No
2022-03-31 15:34 timothee_catteeuw Description Updated View Revisions
2022-05-04 15:27 jmelin Description Updated View Revisions
2022-05-04 15:27 jmelin Steps to Reproduce Updated View Revisions
2022-05-04 15:27 jmelin File Added: 2022-05-04_15-23-53.mp4
2022-05-09 09:16 AugustoMauch Assigned To Retail => meriem_azaf
2022-05-09 09:16 AugustoMauch Status new => acknowledged
2022-05-13 11:40 hgbot Note Added: 0137262
2022-05-17 09:11 guilleaer Status acknowledged => scheduled
2022-05-17 11:20 AugustoMauch Assigned To meriem_azaf => ablasco
2022-05-17 17:55 hgbot Note Added: 0137396
2022-05-17 23:05 AugustoMauch Status scheduled => resolved
2022-05-17 23:05 AugustoMauch Resolution open => fixed
2022-05-17 23:05 AugustoMauch Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker