-
Notifications
You must be signed in to change notification settings - Fork 226
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Serialization of HttpDataAddress removes "baseUrl" and "path" properties #3214
Comments
Thanks for your contribution 🔥 We will take a look asap 🚀 |
please update to |
Tried with |
about the point 1. you reported |
This issue is stale because it has been open for 14 days with no activity. |
This issue was closed because it has been inactive for 7 days since being marked as stale. |
Bug Report
Describe the Bug
When trying to send a (DSP) TransferRequestMessage, the serializer (JsonLdRemoteMessageSerializerImpl) compacts the DataDestination (line 58). This process removes the baseUrl and path properties.
As a result, the data provider returns an error because the baseUrl of the dataDestination is null.
Expected Behavior
Compacting with jsonld keeps baseUrl and path.
Observed Behavior
Compacting with jsonld didn't keep baseUrl and path.
Steps to Reproduce
Steps to reproduce the behavior:
Starting with a contractAgreement between a consumer and provider EDC
Important part:
Context Information
Detailed Description
The following shows the result of compact() inside TitaniumJsonLd.java, where baseUrl and path have been removed (somehow the additionalHeader was spared though)
Debugger output of document (TransferRequestMessage) and compacted:
Possible Implementation
Maybe I am missing an EDC module that is needed to serialize HttpDataAddress, or I am missing something else.
The text was updated successfully, but these errors were encountered: