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

Conversation

jakobmoellerdev
Copy link
Contributor

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.

@jakobmoellerdev jakobmoellerdev merged commit 3e5f69b into open-component-model:main Jan 9, 2025
23 checks passed
jakobmoellerdev added a commit to jakobmoellerdev/ocm that referenced this pull request Jan 9, 2025
…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 added a commit to jakobmoellerdev/ocm that referenced this pull request Jan 9, 2025
…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]>
ikhandamirov pushed a commit that referenced this pull request Jan 9, 2025
…1236) (#1237)

<!-- markdownlint-disable MD041 -->
#### 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.

---------

<!-- markdownlint-disable MD041 -->
#### 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
<!--
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.
-->

Ensures Transports also dont default with 0.19.z

Co-authored-by: Uwe Krueger <[email protected]>
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