Openbravo Issue Tracking System - Modules
View Issue Details
0049625ModulesExternal Data Integrationpublic2022-06-22 13:262022-06-23 18:13
caristu 
Triage Platform Conn 
highminorhave not tried
closedfixed 
5
 
 
approved
No
0049625: Support saving process output for failed EDL requests
Currently the output of an EDL process is saved in the output content tabs if the following conditions are met:

1) The execution of the EDL request finishes correctly
2) The process has an output configuration configured to enable saving the output

It would be nice to provide a mechanism that would allow to save the output of the process when the EDL request process fails
In description
No tags attached.
related to feature request 0057426 closed igor_trebol Retail Modules Add writeExtraErrorContent options for EDL Item Processors 
Issue History
2022-06-22 13:26caristuNew Issue
2022-06-22 13:26caristuAssigned To => Triage Platform Conn
2022-06-22 13:26caristuOBNetwork customer => No
2022-06-22 13:36hgbotMerge Request Status => open
2022-06-22 13:36hgbotNote Added: 0138619
2022-06-23 16:53hgbotMerge Request Statusopen => approved
2022-06-23 17:06ivancaceresIssue Monitored: ivancaceres
2022-06-23 17:08ivancaceresNote Added: 0138705
2022-06-23 18:13hgbotNote Added: 0138709
2022-06-23 18:13hgbotResolutionopen => fixed
2022-06-23 18:13hgbotStatusnew => closed
2022-06-23 18:13hgbotNote Added: 0138710
2022-06-23 18:13hgbotNote Added: 0138711
2024-12-11 13:04caristuRelationship addedrelated to 0057426

Notes
(0138619)
hgbot   
2022-06-22 13:36   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.externaldata.integration/-/merge_requests/22 [^]
(0138705)
ivancaceres   
2022-06-23 17:08   
Maybe a mechanism to extend controlled exceptions in itemprocessor. Sometimes we need store some data although process fail.
(0138709)
hgbot   
2022-06-23 18:13   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.externaldata.integration/-/merge_requests/22 [^]
(0138710)
hgbot   
2022-06-23 18:13   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.externaldata.integration [^]
Changeset: 86d139c01014d76926f08fc65338a965bc6b7999
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 23-06-2022 17:51:13
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.externaldata.integration/-/commit/86d139c01014d76926f08fc65338a965bc6b7999 [^]

fixes BUG-49625: support saving process output for failed EDL requests

---
M src/org/openbravo/externaldata/integration/process/AsynchronousProcessor.java
M src/org/openbravo/externaldata/integration/process/ItemProcessor.java
M src/org/openbravo/externaldata/integration/process/OutputDataProcessor.java
M src/org/openbravo/externaldata/integration/process/ProcessRequest.java
M src/org/openbravo/externaldata/integration/process/SynchronousProcessor.java
---
(0138711)
hgbot   
2022-06-23 18:13   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.externaldata.integration [^]
Changeset: 317137da1fcaf3752630e82a35b5c63389b7ff59
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 23-06-2022 18:09:52
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.externaldata.integration/-/commit/317137da1fcaf3752630e82a35b5c63389b7ff59 [^]

related to BUG-49625: add test

---
A src-test/org/openbravo/externaldata/integration/process/FailingItemProcessor.java
A src-test/org/openbravo/externaldata/integration/process/SaveErrorOutputTest.java
A src-test/org/openbravo/externaldata/integration/util/EDLTestUtils.java
M src-test/org/openbravo/externaldata/integration/StandaloneTestSuite.java
M src-test/org/openbravo/externaldata/integration/process/AddRequestTest.java
---