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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0053816
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Modules] External Data Integrationmajoralways2023-10-31 13:322023-11-13 08:35
ReportermalsasuaView Statuspublic 
Assigned Tocaristu 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Review Assigned Tocberner
Regression introduced in release
Summary

0053816: EDL process is duplicating request lines

DescriptionIn EDL process, when there are several item ids by line, the process of one item raises an error, and after that, the export of the items raise another error, the first item ID is added in a new request line, but it is not removed from the original request line.
Steps To Reproduce. install edl example module:
https://gitlab.com/openbravo/demo/org.openbravo.externaldata.integration.examples [^]

. apply patch1 (attached) to force errors in some lines in the Import UOM Asynchronously process: it forces a processing error in one individual item and a general error when executing the OutputDataProcessor.
. execute Import UOM Asynchronously process. The generated EDL request have:
--> One line in error with the item whose processing failed. This is correct.
--> Another line in error (because the OutputDataProcessor failed) with the correctly processed items plus the item whose processing failed. This is wrong, the item whose processing failed should not be present in this line
Proposed Solutionattached possible fix (patch2)
TagsNo tags attached.
Attached Filesdiff file icon patch1.diff [^] (2,192 bytes) 2023-11-07 09:01 [Show Content]
diff file icon patch2.diff [^] (3,716 bytes) 2023-11-07 17:37 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0052614 closedcberner Openbravo ERP There should be a mechanism to have non-blocking async EDL Requests 
depends on backport 0053908 closedcaristu Modules EDL process is duplicating request lines 

-  Notes
(0156878)
hgbot (developer)
2023-11-07 17:20

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.externaldata.integration/-/merge_requests/35 [^]
(0157011)
caristu (manager)
2023-11-10 09:13

Note that the fix contains two commits:

1- One commit to fix some parts of the error management that were not working in the same way as it was before the changes introduced with 0052614. This is the part that can be considered a regression.

2- The specific fix for the issue, which is not a regression but we think it is worth to backport it (it is not very risky) to have it also fixed in 23Q4 release.
(0157057)
hgbot (developer)
2023-11-13 08:33

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.externaldata.integration [^]
Changeset: 7843a987cc27904cdf998ca386f074e265011cc1
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 07-11-2023 17:18:03
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.externaldata.integration/-/commit/7843a987cc27904cdf998ca386f074e265011cc1 [^]

related to BUG-53816: improve request line process error management

---
M src/org/openbravo/externaldata/integration/process/ProcessRequest.java
---
(0157058)
hgbot (developer)
2023-11-13 08:33

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.externaldata.integration [^]
Changeset: 9a4b612edb532d8b4717f65fa1864c68b62fa536
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 07-11-2023 17:26:35
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.externaldata.integration/-/commit/9a4b612edb532d8b4717f65fa1864c68b62fa536 [^]

related to BUG-53816: duplicated error items that may appear in different error lines

---
M src/org/openbravo/externaldata/integration/process/ProcessRequest.java
---
(0157059)
hgbot (developer)
2023-11-13 08:33

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.externaldata.integration/-/merge_requests/35 [^]

- Issue History
Date Modified Username Field Change
2023-10-31 13:32 malsasua New Issue
2023-10-31 13:32 malsasua Assigned To => Triage Platform Base
2023-10-31 13:32 malsasua Modules => Core
2023-10-31 13:32 malsasua Triggers an Emergency Pack => No
2023-10-31 13:33 malsasua File Added: patch1.diff
2023-10-31 13:33 malsasua File Added: patch2.diff
2023-10-31 13:34 malsasua Assigned To Triage Platform Base => caristu
2023-11-07 08:57 caristu Steps to Reproduce Updated View Revisions
2023-11-07 09:00 caristu Steps to Reproduce Updated View Revisions
2023-11-07 09:00 caristu Steps to Reproduce Updated View Revisions
2023-11-07 09:00 caristu File Deleted: patch1.diff
2023-11-07 09:01 caristu File Added: patch1.diff
2023-11-07 09:01 caristu File Deleted: patch1.diff
2023-11-07 09:01 caristu File Added: patch1.diff
2023-11-07 17:20 hgbot Note Added: 0156878
2023-11-07 17:37 caristu File Deleted: patch2.diff
2023-11-07 17:37 caristu File Added: patch2.diff
2023-11-10 08:42 caristu Project Openbravo ERP => Modules
2023-11-10 08:42 caristu Category A. Platform => External Data Integration
2023-11-10 08:48 caristu Project Modules => Openbravo ERP
2023-11-10 08:49 caristu Status new => scheduled
2023-11-10 08:49 caristu Project Openbravo ERP => Modules
2023-11-10 09:11 caristu Relationship added related to 0052614
2023-11-10 09:13 caristu Note Added: 0157011
2023-11-10 09:13 caristu Relationship deleted related to 0052614
2023-11-10 09:14 caristu Relationship added related to 0052614
2023-11-13 08:33 hgbot Note Added: 0157057
2023-11-13 08:33 hgbot Note Added: 0157058
2023-11-13 08:33 hgbot Note Added: 0157059
2023-11-13 08:35 caristu Status scheduled => resolved
2023-11-13 08:35 caristu Resolution open => fixed
2023-11-13 08:35 caristu Review Assigned To => cberner
2023-11-13 08:35 caristu Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker