Consumer-Asset
with the same ID as a Provider-Asset
Cannot Be Deleted After Contract Negotiation
#4583
Labels
bug_report
Suspected bugs, awaiting triage
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: