-
Notifications
You must be signed in to change notification settings - Fork 245
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
Consumer-Asset
with the same ID as a Provider-Asset
Cannot Be Deleted After Contract Negotiation
#4583
Comments
This should never happen because the identifier of the dataset (asset)
(ref.) this is an edge case that won't get prioritized, but we're open to contributions in form of PR. |
Thanks @ndr-brt for clarification. Yes, we will take care of fixing it and provide a PR. |
This issue is stale because it has been open for 14 days with no activity. |
This issue is stale because it has been open for 14 days with no activity. |
Bug Report
Describe the Bug
After a
Contract
for anAsset
of aProvider
has successfully been negotiated, anAsset
reciding at theConsumer
with the same ID and not being part of a Contract, can not be deleted anymore.Expected Behavior
Asset
can be deleted, because it has not been part of a contract.Observed Behavior
Asset
can't be deleted.Steps to Reproduce
Contract
forAsset-A
reciding at theProvider
Asset-B
with the same ID asAsset-A
at theConsumer
Asset-B
using the Management-APIContext Information
v0.7.2
Possible Implementation
Query just for
Assets
withContractNegotations
of typePROVIDER
in theAssetServiceImpl
.Connector/core/control-plane/control-plane-aggregate-services/src/main/java/org/eclipse/edc/connector/controlplane/services/asset/AssetServiceImpl.java
Lines 94 to 102 in d708305
The text was updated successfully, but these errors were encountered: