Openbravo Issue Tracking System - Retail Modules
View Issue Details
0042020Retail ModulesWeb POSpublic2019-10-15 13:092020-02-13 09:59
aferraz 
ranjith_qualiantech_com 
normalmajorhave not tried
closedfixed 
5
 
RR20Q1 
guilleaer
Production - Confirmed Stable
2019-02-21
RR19Q2
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/fd2a851dbf79 [^]
No
0042020: Error when updating an order using ExternalOrderLoader
Error 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.
Install 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.
Add loaded property also to order lines json in ExternalOrderLoader.disableConcurrencyCheck().
No tags attached.
depends on backport 0042565RR19Q4.1 closed ranjith_qualiantech_com Error when updating an order using ExternalOrderLoader 
depends on backport 0042566RR19Q3.2 closed ranjith_qualiantech_com Error when updating an order using ExternalOrderLoader 
Issue History
2019-10-15 13:09aferrazNew Issue
2019-10-15 13:09aferrazAssigned To => Retail
2019-10-15 13:09aferrazRegression level => Production - Confirmed Stable
2019-10-15 13:09aferrazRegression date => 2019-02-21
2019-10-15 13:09aferrazRegression introduced in release => RR19Q2
2019-10-15 13:09aferrazRegression introduced by commit => https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/fd2a851dbf79 [^]
2019-10-15 13:09aferrazTriggers an Emergency Pack => No
2019-10-15 15:58aferrazSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=19504#r19504
2019-12-16 11:16ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2019-12-16 11:41ranjith_qualiantech_comStatusnew => scheduled
2019-12-20 03:19hgbotCheckin
2019-12-20 03:19hgbotNote Added: 0116442
2019-12-20 03:19hgbotStatusscheduled => resolved
2019-12-20 03:19hgbotResolutionopen => fixed
2019-12-20 03:19hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/2a99f2895071f95d0e189c0fc31a821aedc1b659 [^]
2019-12-24 11:35guilleaerReview Assigned To => guilleaer
2019-12-24 11:35guilleaerStatusresolved => closed
2019-12-24 11:35guilleaerFixed in Version => RR20Q1
2020-02-13 09:59guilleaerTarget VersionRR20Q1 =>

Notes
(0116442)
hgbot   
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
---