Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0056592 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
defect | [POS2] [Retail Modules] Retail API | major | have not tried | 2024-09-30 17:00 | 2024-10-07 06:50 | |||||||
Reporter | rafademiguel | View Status | public | |||||||||
Assigned To | Rajesh_18 | |||||||||||
Priority | normal | Resolution | open | Fixed in Version | ||||||||
Status | scheduled | Fix in branch | Fixed in SCM revision | |||||||||
Projection | none | ETA | none | Target Version | ||||||||
OS | Any | Database | Any | Java version | ||||||||
OS Version | Database version | Ant version | ||||||||||
Product Version | SCM revision | |||||||||||
Review Assigned To | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0056592: IF "isQuotation" property is not send using the "External Orders API" you get an Error While Importing | |||||||||||
Description | IF "isQuotation" property is not send using the "External Orders API" you get an Error While Importing: org.codehaus.jettison.json.JSONException: JSONObject["isQuotation"] not found. at org.codehaus.jettison.json.JSONObject.get(JSONObject.java:360) at org.codehaus.jettison.json.JSONObject.getBoolean(JSONObject.java:376) at org.openbravo.retail.api.events.order.QuotationLoaderEventsHook.exec(QuotationLoaderEventsHook.java:29) at org.openbravo.retail.api.events.order.QuotationLoaderEventsHook$Proxy$_$$_WeldClientProxy.exec(Unknown Source) at org.openbravo.retail.posterminal.OrderLoader.executeHooks(OrderLoader.java:876) at org.openbravo.retail.posterminal.OrderLoader.saveRecord(OrderLoader.java:656) 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:55) at org.openbravo.retail.posterminal.importprocess.OrderImportEntryProcessor$OrderLoaderRunnable.processEntry(OrderImportEntryProcessor.java:64) at org.openbravo.service.importprocess.ImportEntryProcessor$ImportEntryProcessRunnable.doRunCycle(ImportEntryProcessor.java:447) at org.openbravo.service.importprocess.ImportEntryProcessor$ImportEntryProcessRunnable.run(ImportEntryProcessor.java:370) 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 | Use the "External Orders API" and do not fill the property "isQuotation" | |||||||||||
Proposed Solution | Set a default value for isQuotation in the External Orders API, so that if the property is not specified it is set as "false" in the created ticket. | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | ||||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Notes | |
(0170028) hgbot (developer) 2024-10-07 06:50 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.orders/-/merge_requests/16 [^] |
Issue History | |||
Date Modified | Username | Field | Change |
2024-09-30 17:00 | rafademiguel | New Issue | |
2024-09-30 17:00 | rafademiguel | Assigned To | => marvintm |
2024-09-30 17:00 | rafademiguel | Triggers an Emergency Pack | => No |
2024-09-30 17:02 | marvintm | Proposed Solution updated | |
2024-09-30 17:04 | marvintm | Assigned To | marvintm => Retail |
2024-09-30 17:04 | marvintm | Project | Retail Modules => POS2 |
2024-09-30 17:04 | marvintm | Status | new => acknowledged |
2024-10-01 06:46 | Rajesh_18 | Assigned To | Retail => Rajesh_18 |
2024-10-01 06:46 | Rajesh_18 | Status | acknowledged => scheduled |
2024-10-07 06:50 | hgbot | Note Added: 0170028 |
Copyright © 2000 - 2009 MantisBT Group |