You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Creating a ContractDefinition to an Asset yields the ContractDefinition Object where the Asset is clickable and viewable as expected.
After deleting the Asset, the ContractDefinitions remains with its own ID instead of the Asset's ID. The Asset is gone as expected
Expected Behaviour
Only ContractDefinition objects with a clickable and valid Asset should show up in the GUI.
Deleting an Asset of an existing ContractDefinition should not be possible or should delete related ContractDefinitions as well
Observed Behaviour
After deleting an Asset of an existing ContractDefinition the ContractDefinition remains and referencing its own ID instead of the Asset ID
Steps to Reproduce
Steps to reproduce the behaviour:
Create an Asset with the connector GUI
Create a ContractDefinition with any policy and the Asset
Delete the Asset
Check the ContractDefinition
Context Information
Connector version 2.0.3
The text was updated successfully, but these errors were encountered:
This happens due to the limitations in the EDC Managment API for contract definitions.
In the contract definition page, when clicking on a contract definition card's title, you can see what actual data we get from the backend for that contract definition.
Right now the asset information and policy information are added in the UI by fetching the list of policies and assets.
So if an asset is not present in the asset list, we can't even show it's name, and are forced to default to its id, even though the data exists duplicated somewhere in the database in the backend.
This is why we are in the process of gradually replacing the management API endpoints with our own UI API endpoints.
When exactly the contract definition page will be reworked I can't tell right now, as we will definitely first migrate the contract agreement page and transfer process page, as they are more broken right now.
Bug Report
Description
Creating a ContractDefinition to an Asset yields the ContractDefinition Object where the Asset is clickable and viewable as expected.
After deleting the Asset, the ContractDefinitions remains with its own ID instead of the Asset's ID. The Asset is gone as expected
Expected Behaviour
Only ContractDefinition objects with a clickable and valid Asset should show up in the GUI.
Deleting an Asset of an existing ContractDefinition should not be possible or should delete related ContractDefinitions as well
Observed Behaviour
After deleting an Asset of an existing ContractDefinition the ContractDefinition remains and referencing its own ID instead of the Asset ID
Steps to Reproduce
Steps to reproduce the behaviour:
Context Information
Connector version 2.0.3
The text was updated successfully, but these errors were encountered: