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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0046865
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Modules] External Data Integrationminorsometimes2021-05-27 13:012023-01-13 13:44
ReporteraferrazView Statuspublic 
Assigned Tocaristu 
PrioritynormalResolutionfixedFixed 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 To
Regression introduced in release
Summary

0046865: Reprocessing a EDL Request line sometimes throws a lazy initialization error

DescriptionReprocessing 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();
TagsNo tags attached.
Attached Filesdiff file icon 46865.diff [^] (1,076 bytes) 2021-05-27 13:01 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
has duplicate defect 0051121 closedcaristu Openbravo ERP There is an error when processing a EDL request line from EDL request window 

-  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
Powered by Mantis Bugtracker