Initiate Negotiaition fails with error: Policy in the contract agreement is not equal to the one in the contract offer #3884
-
DescriptionI am trying to initiate a negotiation but it fails with error message.
How to ReproduceStep 1: Create Policy
Step 2: Query CatalogIt works fine and returns the target assets. Step 3: Initiate Negotiation
Check Consumer Connector logs
Why it failsPolicy in contract agreement doesn't match with policy in contract negotiation. I found policy#permission#target was Temporary WorkaroundWhile initiating negotiation, pass policy#permissions#target as null and hence it matches with the agreement policy. Transfer works successfully, but not sure about the implications. Possible Fixpolicy#target is copied from contract negotiation policy to agreement policy before policy is compared.
Copy policy#permission#target as well from contract negotiation policy to agreement policy. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
@ndr-brt Could you please have a look. |
Beta Was this translation helpful? Give feedback.
-
hi @hemantxpatel afaik the target will be removed on specific rule and should only exists on root level |
Beta Was this translation helpful? Give feedback.
hi @hemantxpatel afaik the target will be removed on specific rule and should only exists on root level
#3872