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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0042566
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Web POSmajorhave not tried2019-10-15 13:092019-12-25 21:18
ReporteraferrazView Statuspublic 
Assigned Toranjith_qualiantech_com 
PrioritynormalResolutionfixedFixed in VersionRR19Q3.2
StatusclosedFix in branchFixed in SCM revisionf03f3f451a2a
ProjectionnoneETAnoneTarget VersionRR19Q3.2
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

0042566: 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
(0116504)
hgbot (developer)
2019-12-24 11:55

Repository: retail/backports/3.0RR19Q3.2/org.openbravo.retail.posterminal
Changeset: f03f3f451a2a346c50d8ad7faea9c7243b197eba
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Dec 24 16:24:55 2019 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR19Q3.2/org.openbravo.retail.posterminal/rev/f03f3f451a2a346c50d8ad7faea9c7243b197eba [^]

Fixed issue 42566 : 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 => RR19Q3.2
2019-12-24 11:55 hgbot Checkin
2019-12-24 11:55 hgbot Note Added: 0116504
2019-12-24 11:55 hgbot Status scheduled => resolved
2019-12-24 11:55 hgbot Resolution open => fixed
2019-12-24 11:55 hgbot Fixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR19Q3.2/org.openbravo.retail.posterminal/rev/f03f3f451a2a346c50d8ad7faea9c7243b197eba [^]
2019-12-25 21:18 guilleaer Review Assigned To => guilleaer
2019-12-25 21:18 guilleaer Status resolved => closed
2019-12-25 21:18 guilleaer Fixed in Version => RR19Q3.2


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker