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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0042020
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajorhave not tried2019-10-15 13:092020-02-13 09:59
ReporteraferrazView Statuspublic 
Assigned Toranjith_qualiantech_com 
PrioritynormalResolutionfixedFixed in VersionRR20Q1
StatusclosedFix in branchFixed in SCM revision2a99f2895071
ProjectionnoneETAnoneTarget Version
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

0042020: 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 ]
depends on backport 0042565RR19Q4.1 closedranjith_qualiantech_com Error when updating an order using ExternalOrderLoader 
depends on backport 0042566RR19Q3.2 closedranjith_qualiantech_com Error when updating an order using ExternalOrderLoader 

-  Notes
(0116442)
hgbot (developer)
2019-12-20 03:19

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 2a99f2895071f95d0e189c0fc31a821aedc1b659
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Fri Dec 20 07:48:55 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/2a99f2895071f95d0e189c0fc31a821aedc1b659 [^]

Fixed issue 42020 : 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-10-15 13:09 aferraz New Issue
2019-10-15 13:09 aferraz Assigned To => Retail
2019-10-15 13:09 aferraz Regression level => Production - Confirmed Stable
2019-10-15 13:09 aferraz Regression date => 2019-02-21
2019-10-15 13:09 aferraz Regression introduced in release => RR19Q2
2019-10-15 13:09 aferraz Regression introduced by commit => https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/fd2a851dbf79 [^]
2019-10-15 13:09 aferraz Triggers an Emergency Pack => No
2019-10-15 15:58 aferraz Steps to Reproduce Updated View Revisions
2019-12-16 11:16 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2019-12-16 11:41 ranjith_qualiantech_com Status new => scheduled
2019-12-20 03:19 hgbot Checkin
2019-12-20 03:19 hgbot Note Added: 0116442
2019-12-20 03:19 hgbot Status scheduled => resolved
2019-12-20 03:19 hgbot Resolution open => fixed
2019-12-20 03:19 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/2a99f2895071f95d0e189c0fc31a821aedc1b659 [^]
2019-12-24 11:35 guilleaer Review Assigned To => guilleaer
2019-12-24 11:35 guilleaer Status resolved => closed
2019-12-24 11:35 guilleaer Fixed in Version => RR20Q1
2020-02-13 09:59 guilleaer Target Version RR20Q1 =>


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker