Openbravo Issue Tracking System - Retail Modules | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0052235 | Retail Modules | Return Receipt | public | 2023-04-20 19:20 | 2023-05-03 06:48 | |||||||
Reporter | sofidossant | |||||||||||
Assigned To | ranjith_qualiantech_com | |||||||||||
Priority | high | Severity | major | Reproducibility | always | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | pi | |||||||||||
Target Version | RR23Q2 | Fixed in Version | RR23Q2 | |||||||||
Merge Request Status | ||||||||||||
Review Assigned To | ||||||||||||
OBNetwork customer | ||||||||||||
Support ticket | ||||||||||||
Regression level | Pre packaging ( pi ) | |||||||||||
Regression date | 2023-03-20 | |||||||||||
Regression introduced in release | RR23Q1 | |||||||||||
Regression introduced by commit | https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/88694b5b41093f5fdc824cafe373a351923fed3c [^] | |||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0052235: EWI org.codehaus.jettison.json.JSONException: JSONObject["deletedLines"] is not a JSONArray. | |||||||||||
Description | When I open a verify return (from cross store) and delete the lines, and continue as an order. When I pay it, the ewi is generated. org.codehaus.jettison.json.JSONException: JSONObject["deletedLines"] is not a JSONArray. at org.codehaus.jettison.json.JSONObject.getJSONArray(JSONObject.java:440) at org.openbravo.retail.productonthefly.hooks.PreOrderLoaderOTFHook.saveProductOnTheFlyProducts(PreOrderLoaderOTFHook.java:54) at org.openbravo.retail.productonthefly.hooks.PreOrderLoaderOTFHook.exec(PreOrderLoaderOTFHook.java:44) at org.openbravo.retail.productonthefly.hooks.PreOrderLoaderOTFHook$Proxy$_$$_WeldClientProxy.exec(Unknown Source) at org.openbravo.retail.posterminal.OrderLoader.executeOrderLoaderPreProcessHook(OrderLoader.java:883) at org.openbravo.retail.posterminal.OrderLoader.saveRecord(OrderLoader.java:307) at org.openbravo.mobile.core.process.DataSynchronizationProcess.saveRecord(DataSynchronizationProcess.java:214) at org.openbravo.mobile.core.process.DataSynchronizationProcess.exec(DataSynchronizationProcess.java:165) at org.openbravo.mobile.core.process.DataSynchronizationProcess.exec(DataSynchronizationProcess.java:97) at org.openbravo.mobile.core.process.MobileImportEntryProcessorRunnable.processEntry(MobileImportEntryProcessorRunnable.java:57) at org.openbravo.retail.posterminal.importprocess.OrderImportEntryProcessor$OrderLoaderRunnable.processEntry(OrderImportEntryProcessor.java:64) at org.openbravo.service.importprocess.ImportEntryProcessor$ImportEntryProcessRunnable.doRunCycle(ImportEntryProcessor.java:430) at org.openbravo.service.importprocess.ImportEntryProcessor$ImportEntryProcessRunnable.run(ImportEntryProcessor.java:347) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829) | |||||||||||
Steps To Reproduce | 1- Open terminal 2- Verificate Return for another organization (cross store). 3- Select lines. 4- Deleted lines. 5- Add product 6- Pay the sales order. Check the backoffice with the ewi. | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2023-04-26 07:44 | marvintm | Type | defect => backport | |||||||||
2023-04-26 07:44 | marvintm | Target Version | => RR23Q2 | |||||||||
2023-04-27 12:41 | hgbot | Note Added: 0148992 | ||||||||||
2023-05-03 06:48 | hgbot | Resolution | open => fixed | |||||||||
2023-05-03 06:48 | hgbot | Status | scheduled => closed | |||||||||
2023-05-03 06:48 | hgbot | Note Added: 0149163 | ||||||||||
2023-05-03 06:48 | hgbot | Fixed in Version | => RR23Q2 | |||||||||
2023-05-03 06:48 | hgbot | Note Added: 0149164 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|