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-11-11 11:48
ReporterrafademiguelView Statuspublic 
Assigned ToRajesh_18 
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

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 [^]
(0170731)
hgbot (developer)
2024-10-22 05:03

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.orders/-/merge_requests/16 [^]
(0170732)
hgbot (developer)
2024-10-22 05:03

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.orders [^]
Changeset: cdbef6ad12d05b84f7fb7761cdcff8a8a8ce94f3
Author: Rajesh Senthilkumar <rajesh@qualiantech.com>
Date: 22-10-2024 03:03:12
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.orders/-/commit/cdbef6ad12d05b84f7fb7761cdcff8a8a8ce94f3 [^]

Fixed ISSUE-56592: Added isQuotation property to external orders

---
M web/org.openbravo.events.orders/app/model/business-object/externalOrders/LoadExternalOrdersTicket.js
---

- 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
2024-10-16 09:49 rafademiguel Issue Monitored: rafademiguel
2024-10-22 05:03 hgbot Note Added: 0170731
2024-10-22 05:03 hgbot Resolution open => fixed
2024-10-22 05:03 hgbot Status scheduled => closed
2024-10-22 05:03 hgbot Note Added: 0170732
2024-11-11 11:48 hgbot Note Added: 0171757
2024-11-11 11:48 hgbot Fixed in Version => PR25Q1
2024-11-11 11:48 hgbot Note Added: 0171759
2024-11-11 11:50 shuehner Note Deleted: 0171759
2024-11-11 11:50 shuehner Note Deleted: 0171757


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker