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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0051121
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] Z. Othersmajorhave not tried2022-12-13 08:462023-01-13 13:45
ReporterebecerraView Statuspublic 
Assigned Tocaristu 
PrioritynormalResolutionduplicateFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toadrianromero
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0051121: There is an error when processing a EDL request line from EDL request window

DescriptionWhen an EDL is executed from the BO (EDL request window) and the EDL raises an error and then user wants to re-process the results it throws an exception which not corresponds with the exception raised by the EDL.

This exception is correctly handled and stored in the backoffice but the ERP front-end displays to the user an error which is not related to the message of the exception raised.

Apart from that, the UI of the ERP gets stuck, not being able to close the dialog which shows the exception

See attach image: EDL-Error.png
Steps To ReproduceCreate a dummy EDL which returns several results one of them with error:
--
From backoffice open "EDL request window" and process the EDL
After that some results with success and error will appear in the below subtab "Request Line"
Go to the one which finished with error and press "process" button

The exception shown to the user is not releated to the message of the exception raised internaly when this line is processed

TagsNo tags attached.
Attached Filespng file icon EDL-Error.png [^] (124,010 bytes) 2022-12-13 08:46

- Relationships Relation Graph ] Dependency Graph ]
duplicate of defect 0046865 closedcaristu Modules Reprocessing a EDL Request line sometimes throws a lazy initialization error 

-  Notes
(0145393)
adrianromero (manager)
2023-01-13 13:45

Fixed in duplicated issue:

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
---

- Issue History
Date Modified Username Field Change
2022-12-13 08:46 ebecerra New Issue
2022-12-13 08:46 ebecerra Assigned To => Triage Omni OMS
2022-12-13 08:46 ebecerra File Added: EDL-Error.png
2022-12-13 08:46 ebecerra Modules => Core
2022-12-13 08:46 ebecerra Triggers an Emergency Pack => No
2022-12-13 09:06 aferraz Assigned To Triage Omni OMS => Triage Platform Conn
2022-12-15 23:57 guilleaer Description Updated View Revisions
2022-12-21 08:18 guilleaer Description Updated View Revisions
2022-12-21 08:28 guilleaer Summary There is an error when lauching an error in EDL request => There is an error when processing a EDL request line from EDL request window
2022-12-21 08:28 guilleaer Description Updated View Revisions
2022-12-21 08:28 guilleaer Steps to Reproduce Updated View Revisions
2022-12-21 09:50 adrianromero Assigned To Triage Platform Conn => caristu
2022-12-23 16:44 caristu Relationship added related to 0046865
2023-01-12 18:06 caristu Relationship deleted related to 0046865
2023-01-12 18:06 caristu Relationship added duplicate of 0046865
2023-01-13 13:45 adrianromero Review Assigned To => adrianromero
2023-01-13 13:45 adrianromero Note Added: 0145393
2023-01-13 13:45 adrianromero Status new => closed
2023-01-13 13:45 adrianromero Resolution open => duplicate


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker