-
Notifications
You must be signed in to change notification settings - Fork 226
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
Problem when constructing ContractId
s containing colons ":"
#3211
Comments
I also agree on making the ContractId parts opaque with encoding, at that point we could remove the |
6 tasks
This issue was closed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Report
Describe the Bug
Having Assets where the
id
contains the ":" colon character causes problems during contract negotiation, causing the negotiation instance not to be found.Expected Behavior
(see link below)
Observed Behavior
(see link below)
Steps to Reproduce, Context Information
eclipse-tractusx/tractusx-edc#484
Detailed Description
ContractId
instances are constructed in the form<CONTRACT_DEF_ID>:<ASSET_ID>:<UUID>
using ":" as delimiter character and are parsed accordingly. If either the contract definition id or the asset id contains a colon ":" character, that would throw off the parsing algorithm.Possible Implementations
ContractIds
opaque, e.g. base64 encode the parts (<-- probably the best solution)The text was updated successfully, but these errors were encountered: