Openbravo Issue Tracking System - Modules |
| View Issue Details |
|
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0058307 | Modules | External Data Integration | public | 2025-03-21 10:11 | 2025-03-24 10:20 |
|
| Reporter | alostale | |
| Assigned To | caristu | |
| Priority | high | Severity | major | Reproducibility | have not tried |
| Status | closed | Resolution | fixed | |
| Platform | | OS | 5 | OS Version | |
| Product Version | | |
| Target Version | | Fixed in Version | | |
| Merge Request Status | approved |
| Regression date | |
| Regression introduced by commit | |
| Regression level | |
| Review Assigned To | |
| Support ticket | |
| OBNetwork customer | Gold |
| Regression introduced in release | |
|
| Summary | 0058307: 24Q4 backport - NonUniqueObjectException thrown in EDL non blocking processes under some circumstances |
| Description | When executing non blocking EDL processes, there is a random failure that may happen at the beginning of the "non blocking" execution:
2025-03-19 15:23:53,653 [NonBlocking - 0] ERROR org.openbravo.externaldata.integration.process.ProcessRequest - Unhandled exception processing request line
org.hibernate.NonUniqueObjectException: A different object with the same identifier value was already associated with the session : [OBEDL_Process#17B50CF4701240868D03BDF047F9B1F3]
at org.hibernate.engine.internal.StatefulPersistenceContext.checkUniqueness(StatefulPersistenceContext.java:700) ~[hibernate-core-5.6.15.Final.jar:5.6.15.Final] |
| Steps To Reproduce | 1) Apply the provided patch which forces an scenario to reproduce the error by not cleaning the SessionHandler in the non-blocking thread
2) Trigger a Push API event
3) Trigger again another Push API event, the error will be thrown |
| Proposed Solution | |
| Additional Information | |
| Tags | No tags attached. |
| Relationships | | blocks | defect | 0058301 | | closed | caristu | NonUniqueObjectException thrown in EDL non blocking processes under some circumstances |
|
| Attached Files | |
|
| Issue History |
| Date Modified | Username | Field | Change |
| 2025-03-21 10:11 | alostale | New Issue | |
| 2025-03-21 10:11 | alostale | Assigned To | => caristu |
| 2025-03-21 10:11 | alostale | OBNetwork customer | => Gold |
| 2025-03-21 10:11 | alostale | Issue generated from | 0058301 |
| 2025-03-21 10:11 | alostale | Relationship added | blocks 0058301 |
| 2025-03-24 08:40 | hgbot | Merge Request Status | => open |
| 2025-03-24 08:40 | hgbot | Note Added: 0177153 | |
| 2025-03-24 10:20 | hgbot | Merge Request Status | open => approved |
| 2025-03-24 10:20 | hgbot | Resolution | open => fixed |
| 2025-03-24 10:20 | hgbot | Status | new => closed |
| 2025-03-24 10:20 | hgbot | Note Added: 0177163 | |
| 2025-03-24 10:20 | hgbot | Note Added: 0177164 | |