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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0032754
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajorhave not tried2016-04-21 16:102016-05-06 11:04
ReporteraaroncaleroView Statuspublic 
Assigned Toranjith_qualiantech_com 
PrioritynormalResolutionfixedFixed in VersionRR16Q3
StatusclosedFix in branchFixed in SCM revisiond8d09cfa2213
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0032754: [SERQA 947] Wrong error logged in Data Import Entries window for several types of data

DescriptionFor several types of data (e.g. Void Layayway, Reject Quotations) if there is an error while processing the import entry, the following error is logged:
"org.codehaus.jettison.json.JSONException: JSONObject["id"] not found"
instead of the real error.
Steps To ReproduceCapture the json sent to the ProcessVoidLayaway process and modify it so an error is generated (e.g. change the id of the order).
Let the import entry be processed.
It will fail, in this case the order retrieved from the database would be null because it doesn't exist, and this should raise a null pointer exception and be stored on the Errors While importing POS Data window. However while trying to find if the error is a duplicates entry being processed, it fails because the record doesn't have an id and the entry remains in Data Import Entries in error status.
Proposed SolutionIf the import entry doesn't have an "id", it should not check for duplicated records.
TagsSER-QA
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0086074)
hgbot (developer)
2016-04-29 12:03

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: d8d09cfa2213e8b2449e69365d7a5cfd0836f540
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Fri Apr 29 15:32:25 2016 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/d8d09cfa2213e8b2449e69365d7a5cfd0836f540 [^]

Fixes issue 32754 : Adding id attribute to Void layaway and Quotation reject process

"id" attribute was missing, if error occurs in data synchronization. So "id" attribute added to the VoidLayaway and RejectQuotation Processes

---
M web/org.openbravo.retail.posterminal/js/model/order.js
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-model.js
---

- Issue History
Date Modified Username Field Change
2016-04-21 16:10 aaroncalero New Issue
2016-04-21 16:10 aaroncalero Assigned To => Retail
2016-04-21 16:10 aaroncalero Resolution time => 1462399200
2016-04-21 16:10 aaroncalero Triggers an Emergency Pack => No
2016-04-21 16:14 aaroncalero Summary Wrong error logged in Data Import Entries window for several types of data => [SERQA 947] Wrong error logged in Data Import Entries window for several types of data
2016-04-21 16:14 aaroncalero Tag Attached: SER-QA
2016-04-21 16:45 Orekaria Status new => acknowledged
2016-04-26 12:16 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2016-04-26 12:16 ranjith_qualiantech_com Status acknowledged => scheduled
2016-04-29 12:03 hgbot Checkin
2016-04-29 12:03 hgbot Note Added: 0086074
2016-04-29 12:03 hgbot Status scheduled => resolved
2016-04-29 12:03 hgbot Resolution open => fixed
2016-04-29 12:03 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/d8d09cfa2213e8b2449e69365d7a5cfd0836f540 [^]
2016-05-06 11:04 marvintm Review Assigned To => marvintm
2016-05-06 11:04 marvintm Status resolved => closed
2016-05-06 11:04 marvintm Fixed in Version => RR16Q3


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker