Openbravo Issue Tracking System - Modules
View Issue Details
0046865ModulesExternal Data Integrationpublic2021-05-27 13:012023-01-13 13:44
aferraz 
caristu 
normalminorsometimes
closedfixed 
5
 
 
0046865: Reprocessing a EDL Request line sometimes throws a lazy initialization error
Reprocessing a EDL Request line sometimes throws a lazy initialization error
- Having a EDL Request line in error status.
- Click on Process button for this EDL Request line
- Check a lazy initialization exception is thrown in RequestLineReprocessHandler.updateImportEntryStatusIfNeeded when retrieving the import entry:
ImportEntry importEntry = reqLine.getImportEntry();
No tags attached.
has duplicate defect 0051121 closed caristu Openbravo ERP There is an error when processing a EDL request line from EDL request window 
diff 46865.diff (1,076) 2021-05-27 13:01
https://issues.openbravo.com/file_download.php?file_id=15837&type=bug
Issue History
2021-05-27 13:01aferrazNew Issue
2021-05-27 13:01aferrazAssigned To => platform
2021-05-27 13:01aferrazFile Added: 46865.diff
2022-02-01 08:05alostaleAssigned Toplatform => Triage Platform Base
2022-12-23 16:43caristuAssigned ToTriage Platform Base => Triage Platform Conn
2022-12-23 16:44caristuRelationship addedrelated to 0051121
2023-01-12 18:05hgbotNote Added: 0145361
2023-01-12 18:06caristuRelationship deletedrelated to 0051121
2023-01-12 18:06caristuRelationship addedhas duplicate 0051121
2023-01-12 18:07caristuAssigned ToTriage Platform Conn => caristu
2023-01-13 13:44hgbotResolutionopen => fixed
2023-01-13 13:44hgbotStatusnew => closed
2023-01-13 13:44hgbotNote Added: 0145391
2023-01-13 13:44hgbotNote Added: 0145392

Notes
(0145361)
hgbot   
2023-01-12 18:05   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.externaldata.integration/-/merge_requests/24 [^]
(0145391)
hgbot   
2023-01-13 13:44   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.externaldata.integration [^]
Changeset: f1b85eb8f62dbae4a00552863c22894845f800bc
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 13-01-2023 12:39:26
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.externaldata.integration/-/commit/f1b85eb8f62dbae4a00552863c22894845f800bc [^]

fixes BUG-46865: avoid lazy init error when reprocessing a request line

  Refactor the code to avoid a potential LazyInitializationException
when accessing to the import entry of the EDL request line.

  As we only need the import status, we are modifying the code to
directly retrieve it with a query instead of refreshing the full import
entry object to only get the import status at this point.

---
M src/org/openbravo/externaldata/integration/handlers/RequestLineReprocessHandler.java
---
(0145392)
hgbot   
2023-01-13 13:44   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.externaldata.integration/-/merge_requests/24 [^]