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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0056592
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] [Retail Modules] Retail APImajorhave not tried2024-09-30 17:002024-10-07 06:50
ReporterrafademiguelView Statuspublic 
Assigned ToRajesh_18 
PrioritynormalResolutionopenFixed in Version
StatusscheduledFix 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

0056592: IF "isQuotation" property is not send using the "External Orders API" you get an Error While Importing

DescriptionIF "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 ReproduceUse the "External Orders API" and do not fill the property "isQuotation"
Proposed SolutionSet 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.
TagsNo 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
Powered by Mantis Bugtracker