Asset not displayable if a property is an object #322
Labels
kind/bug
Something isn't working. The software does not behave as expected or specified.
status/blocked
An issue is blocked by another issue or task
Bug Report
Description
Creating an asset which contains an object as property causes the edc-ui to display an empty box instead of the asset.
In version 0.0.1-milestone-8-sovity2 the asset was shown by the edc-ui, but without object.
After jumping to version 0.0.1-milestone-8-sovity5 the bug occured. Testing the issue with 0.0.1-milestone-8-sovity6 was also leading to the same behaviour.
According to the browser the asset was received correctly. The console has returned the errors shown in the following picture. Also the empty asset box can be seen.
Additional information: The asset which contains the object was created with a script not the edc-ui.
Expected Behavior
The asset will be show with all its properties, as well as the object (at least stringified)
Observed Behavior
The asset ist not visible at all. Instead an empty box is shown.
Steps to Reproduce
Steps to reproduce the behavior:
{{ "asset": { "properties": { "asset:prop:name": "artifactname", "asset:prop:id": "artifactid", "asset:prop:contenttype": "application/json", "asset:prop:curatorOrganizationName": "mycurator", "asset:prop:originator": "myoriginator", "internal:config": { "name": "myname", "description": "mydescription", "parameter": [{ "name": "geoX", "type": "double", "optional": "false" }, { "name": "geoY", "type": "double", "optional": "false" } ] } } }, "dataAddress": { ... } }
Context Information
edc-ui: 0.0.1-milestone-8-sovity5
edc-extensions: edc-ce-mds:3.2.0
The text was updated successfully, but these errors were encountered: