Skip to content
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

fix(transfer): accidental extra identity defaulting during transfer (#1236) #1237

Conversation

jakobmoellerdev
Copy link
Contributor

@jakobmoellerdev jakobmoellerdev commented Jan 9, 2025

What this PR does / why we need it

replaces #1223 as it does not contain the revert for the normalization algorithm

Introduces DisableExtraIdentityDefaulting which is enabled by default during transport because IsModifyElement is not enough to differentiate if the component version is allowed to be modified during transfer.

Which issue(s) this PR fixes

PR that tackles a case in which ocm transfer cv caused accidental defaults to the extra identity.


What this PR does / why we need it

Backports this change to v0.19 as it occurred there first

Which issue(s) this PR fixes

Ensures Transports also dont default with 0.19.z

…pen-component-model#1236)

<!-- markdownlint-disable MD041 -->
#### What this PR does / why we need it

replaces open-component-model#1223 as it
does not contain the revert for the normalization algorithm

Introduces DisableExtraIdentityDefaulting which is enabled by default
during transport because IsModifyElement is not enough to differentiate
if the component version is allowed to be modified during transfer.

#### Which issue(s) this PR fixes

PR that tackles a case in which `ocm transfer cv` caused accidental
defaults to the extra identity.

---------

Co-authored-by: Uwe Krueger <[email protected]>
@jakobmoellerdev jakobmoellerdev requested a review from a team as a code owner January 9, 2025 13:49
@github-actions github-actions bot added the kind/bugfix Bug label Jan 9, 2025
@jakobmoellerdev jakobmoellerdev changed the title fix(transfer): accidental extra identity defaulting during transfer fix(transfer): accidental extra identity defaulting during transfer (#1236) Jan 9, 2025
@github-actions github-actions bot added the size/m Medium label Jan 9, 2025
@ikhandamirov ikhandamirov merged commit eca9ef3 into open-component-model:releases/v0.19 Jan 9, 2025
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants