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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0042565
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Web POSmajorhave not tried2019-10-15 13:092019-12-30 13:22
ReporteraferrazView Statuspublic 
Assigned Toranjith_qualiantech_com 
PrioritynormalResolutionfixedFixed in VersionRR19Q4.1
StatusclosedFix in branchFixed in SCM revision93008c916585
ProjectionnoneETAnoneTarget VersionRR19Q4.1
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toguilleaer
Regression levelProduction - Confirmed Stable
Regression date2019-02-21
Regression introduced in releaseRR19Q2
Regression introduced by commithttps://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/fd2a851dbf79 [^]
Triggers an Emergency PackNo
Summary

0042565: Error when updating an order using ExternalOrderLoader

DescriptionError when updating an order using ExternalOrderLoader

Previously, OrderLoader only checked loaded property from order json when updating an existing order. Now, OrderLoader checks loaded property also from order lines json.

In case we are updating the order using the ExternalOrderLoader, loaded property is only added to order json, but not to order lines json, and OutDatedDataChangeException exception is thrown in OrderLoader.
Steps To ReproduceInstall retail pack modules.
Install Magento Connector:
- org.openbravo.externaldata.integration
- org.openbravo.service.external.integration
- org.openbravo.service.integration.magento.core
- org.openbravo.service.integration.magento.mappings

Run MagentoImportOrderEntityTest test two times:
- The first time it will run success because it will import new orders in OB.
- The second time it will fail because it will update those orders in OB.
Proposed SolutionAdd loaded property also to order lines json in ExternalOrderLoader.disableConcurrencyCheck().
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0042020 closedranjith_qualiantech_com Error when updating an order using ExternalOrderLoader 

-  Notes
(0116505)
hgbot (developer)
2019-12-24 12:00

Repository: retail/backports/3.0RR19Q4.1/org.openbravo.retail.posterminal
Changeset: 93008c916585837f7eccb79b9b7430edf59d426d
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Dec 24 16:30:47 2019 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR19Q4.1/org.openbravo.retail.posterminal/rev/93008c916585837f7eccb79b9b7430edf59d426d [^]

Fixed issue 42565 : Property loaded should be added to OrderLine JSON to avoid Concurrency Check

---
M src/org/openbravo/retail/posterminal/ExternalOrderLoader.java
---

- Issue History
Date Modified Username Field Change
2019-12-16 11:41 ranjith_qualiantech_com Type defect => backport
2019-12-16 11:41 ranjith_qualiantech_com Target Version RR20Q1 => RR19Q4.1
2019-12-24 12:00 hgbot Checkin
2019-12-24 12:00 hgbot Note Added: 0116505
2019-12-24 12:00 hgbot Status scheduled => resolved
2019-12-24 12:00 hgbot Resolution open => fixed
2019-12-24 12:00 hgbot Fixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR19Q4.1/org.openbravo.retail.posterminal/rev/93008c916585837f7eccb79b9b7430edf59d426d [^]
2019-12-30 13:22 guilleaer Review Assigned To => guilleaer
2019-12-30 13:22 guilleaer Status resolved => closed
2019-12-30 13:22 guilleaer Fixed in Version => RR19Q4.1


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker