Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0046865 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Modules] External Data Integration | minor | sometimes | 2021-05-27 13:01 | 2023-01-13 13:44 | |||
Reporter | aferraz | View Status | public | |||||
Assigned To | caristu | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Regression date | ||||||||
Regression introduced by commit | ||||||||
Regression level | ||||||||
Review Assigned To | ||||||||
Regression introduced in release | ||||||||
Summary | 0046865: Reprocessing a EDL Request line sometimes throws a lazy initialization error | |||||||
Description | Reprocessing a EDL Request line sometimes throws a lazy initialization error | |||||||
Steps To Reproduce | - 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(); | |||||||
Tags | No tags attached. | |||||||
Attached Files | 46865.diff [^] (1,076 bytes) 2021-05-27 13:01 [Show Content] | |||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||
|
Notes | |
(0145361) hgbot (developer) 2023-01-12 18:05 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.externaldata.integration/-/merge_requests/24 [^] |
(0145391) hgbot (developer) 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 (developer) 2023-01-13 13:44 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.externaldata.integration/-/merge_requests/24 [^] |
Issue History | |||
Date Modified | Username | Field | Change |
2021-05-27 13:01 | aferraz | New Issue | |
2021-05-27 13:01 | aferraz | Assigned To | => platform |
2021-05-27 13:01 | aferraz | File Added: 46865.diff | |
2022-02-01 08:05 | alostale | Assigned To | platform => Triage Platform Base |
2022-12-23 16:43 | caristu | Assigned To | Triage Platform Base => Triage Platform Conn |
2022-12-23 16:44 | caristu | Relationship added | related to 0051121 |
2023-01-12 18:05 | hgbot | Note Added: 0145361 | |
2023-01-12 18:06 | caristu | Relationship deleted | related to 0051121 |
2023-01-12 18:06 | caristu | Relationship added | has duplicate 0051121 |
2023-01-12 18:07 | caristu | Assigned To | Triage Platform Conn => caristu |
2023-01-13 13:44 | hgbot | Resolution | open => fixed |
2023-01-13 13:44 | hgbot | Status | new => closed |
2023-01-13 13:44 | hgbot | Note Added: 0145391 | |
2023-01-13 13:44 | hgbot | Note Added: 0145392 |
Copyright © 2000 - 2009 MantisBT Group |