Openbravo Issue Tracking System - Modules
View Issue Details
0048755ModulesExternal Data Integrationpublic2022-03-09 19:402022-03-16 07:51
caristu 
caristu 
highminorhave not tried
closedfixed 
5
 
 
0048755: Allow to create EDL requests without commiting the current transaction
Currently the EDL module provides an API to add new EDL requests through the ProcessRequest class.

Currently the methods provided by this class that are used to create the EDL requests are committing the current transaction internally.

It would be nice to provide an alternative way to create EDL requests that do not commit the current transaction. This way, when using this new way, EDL requests (and their lines) will be commited into the database when the DAL transaction finishes at the end of the HTTP request or when if it is explicitly committed after using the API, but not when creating it.
.
No tags attached.
related to feature request 0048579 closed caristu Openbravo ERP Push API 
Issue History
2022-03-09 19:40caristuNew Issue
2022-03-09 19:40caristuAssigned To => Triage Platform Conn
2022-03-09 19:43hgbotNote Added: 0135598
2022-03-10 16:00caristuAssigned ToTriage Platform Conn => caristu
2022-03-15 13:05caristuRelationship addedrelated to 0048579
2022-03-16 07:51hgbotResolutionopen => fixed
2022-03-16 07:51hgbotStatusnew => closed
2022-03-16 07:51hgbotNote Added: 0135754
2022-03-16 07:51hgbotNote Added: 0135755
2022-03-16 07:51hgbotNote Added: 0135756

Notes
(0135598)
hgbot   
2022-03-09 19:43   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.externaldata.integration/-/merge_requests/16 [^]
(0135754)
hgbot   
2022-03-16 07:51   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.externaldata.integration [^]
Changeset: 0aebb05f9a54fa33e698b8c07eb3b7dd6119037a
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 15-03-2022 13:14:01
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.externaldata.integration/-/commit/0aebb05f9a54fa33e698b8c07eb3b7dd6119037a [^]

fixes BUG-48755: Allow to create EDL requests in a transactional way

---
A src/org/openbravo/externaldata/integration/process/ImportEntryManagerTransactionalNotifier.java
M src/org/openbravo/externaldata/integration/process/ProcessRequest.java
---
(0135755)
hgbot   
2022-03-16 07:51   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.externaldata.integration [^]
Changeset: 303a49566302c1171e0da64fe68bddde6dbad63a
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 15-03-2022 17:34:40
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.externaldata.integration/-/commit/303a49566302c1171e0da64fe68bddde6dbad63a [^]

related to BUG-48755: Add test cases

---
A src-test/org/openbravo/externaldata/integration/StandaloneTestSuite.java
A src-test/org/openbravo/externaldata/integration/process/AddRequestTest.java
A src-test/org/openbravo/externaldata/integration/process/TestItemProcessor.java
---
(0135756)
hgbot   
2022-03-16 07:51   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.externaldata.integration/-/merge_requests/16 [^]