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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0053586
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Modules] SAP Connectorminorhave not tried2023-10-04 07:552023-10-10 12:46
ReportercaristuView Statuspublic 
Assigned ToTriage Platform Conn 
PriorityhighResolutionfixedFixed 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

0053586: Attaching iDocs to Exported Records preference is not working

DescriptionAttaching iDocs to Exported Records preference[1] is not working.

[1] http://wiki.openbravo.com/wiki/Module:SAP_ECC_Integration/UserGuide#Attaching_iDocs_to_Exported_Records [^]
Steps To Reproduce1) Create the Attach Exported iDocs preference, at system client with value "Y"
2) In the "Communication with SAP ECC Server" create a debug configuration:
  - Communication Protocol: Debug
  - Path to iDoc folder: /tmp
3) Execute the "Initialize Entity Synchronization" process
4) Schedule the "SAP ECC Export Synchronization Process" process to export at least one element, for example a product
5) Go to the record of the exported product and note that no attachment has been created. Note that the following error appears in the log:

2023-10-04 08:00:16,119 [Import Entry - 1] ERROR org.openbravo.service.integration.sapecc.process.SapEccExporterSynchronizableBusinessObjectExporter - There was an error while attaching an idoc to a record
java.lang.IllegalArgumentException: id to load is required for loading
    at org.hibernate.event.spi.LoadEvent.<init>(LoadEvent.java:96) ~[hibernate-core-5.6.15.Final.jar:5.6.15.Final]
    at org.hibernate.event.spi.LoadEvent.<init>(LoadEvent.java:64) ~[hibernate-core-5.6.15.Final.jar:5.6.15.Final]
    at org.hibernate.internal.SessionImpl$IdentifierLoadAccessImpl.doLoad(SessionImpl.java:2845) ~[hibernate-core-5.6.15.Final.jar:5.6.15.Final]
    at org.hibernate.internal.SessionImpl$IdentifierLoadAccessImpl.lambda$load$1(SessionImpl.java:2825) ~[hibernate-core-5.6.15.Final.jar:5.6.15.Final]
    at org.hibernate.internal.SessionImpl$IdentifierLoadAccessImpl.perform(SessionImpl.java:2781) ~[hibernate-core-5.6.15.Final.jar:5.6.15.Final]
    at org.hibernate.internal.SessionImpl$IdentifierLoadAccessImpl.load(SessionImpl.java:2825) ~[hibernate-core-5.6.15.Final.jar:5.6.15.Final]
    at org.hibernate.internal.SessionImpl.get(SessionImpl.java:1024) ~[hibernate-core-5.6.15.Final.jar:5.6.15.Final]
    at org.openbravo.dal.core.SessionHandler.find(SessionHandler.java:535) ~[classes/:?]
    at org.openbravo.dal.core.SessionHandler.find(SessionHandler.java:501) ~[classes/:?]
    at org.openbravo.dal.service.OBDal.get(OBDal.java:367) ~[classes/:?]
    at org.openbravo.client.application.attachment.AttachImplementationManager.checkReadableAccess(AttachImplementationManager.java:470) ~[classes/:?]
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0155441)
hgbot (developer)
2023-10-04 08:08

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.service.integration.sapecc/-/merge_requests/5 [^]
(0155734)
hgbot (developer)
2023-10-10 12:46

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.service.integration.sapecc [^]
Changeset: ad1d10d505b8304a57e81330c522e6ffe8566cdc
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 04-10-2023 08:08:53
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.service.integration.sapecc/-/commit/ad1d10d505b8304a57e81330c522e6ffe8566cdc [^]

fixes BUG-53586: "Attaching iDocs to Exported Records" preference is not working

 The record ID was not being retrieved properly when creating the
attachment. Now this has been fixed.

---
M src/org/openbravo/service/integration/sapecc/process/SapEccExporterSynchronizableBusinessObjectExporter.java
---
(0155735)
hgbot (developer)
2023-10-10 12:46

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.service.integration.sapecc/-/merge_requests/5 [^]

- Issue History
Date Modified Username Field Change
2023-10-04 07:55 caristu New Issue
2023-10-04 07:55 caristu Assigned To => Triage Platform Conn
2023-10-04 08:02 caristu Description Updated View Revisions
2023-10-04 08:02 caristu Steps to Reproduce Updated View Revisions
2023-10-04 08:08 hgbot Note Added: 0155441
2023-10-10 12:46 hgbot Resolution open => fixed
2023-10-10 12:46 hgbot Status new => closed
2023-10-10 12:46 hgbot Note Added: 0155734
2023-10-10 12:46 hgbot Note Added: 0155735


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker