Skip to content

avoid multiple projects sharing with all after copying a project#23091

Merged
dombesz merged 1 commit into
release/17.4from
bug/74721-copying-a-work-package-with-instance-wide-sharing-leads-to-two-projects-sharing-instance-wide
May 11, 2026
Merged

avoid multiple projects sharing with all after copying a project#23091
dombesz merged 1 commit into
release/17.4from
bug/74721-copying-a-work-package-with-instance-wide-sharing-leads-to-two-projects-sharing-instance-wide

Conversation

@ulferts
Copy link
Copy Markdown
Contributor

@ulferts ulferts commented May 6, 2026

Ticket

https://community.openproject.org/wp/74721

What are you trying to accomplish?

By copying a project with SHARE_ALL_PROJECTS selected for sprint_sharing, two projects sharing with all projects can be created. This is avoided by removing the value from the hash passed to the copy.

Merge checklist

  • Added/updated tests

@ulferts ulferts marked this pull request as ready for review May 6, 2026 12:45
Copy link
Copy Markdown
Contributor

@dombesz dombesz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works as expected, thanks.👍

@dombesz dombesz merged commit 1413b6f into release/17.4 May 11, 2026
17 of 18 checks passed
@dombesz dombesz deleted the bug/74721-copying-a-work-package-with-instance-wide-sharing-leads-to-two-projects-sharing-instance-wide branch May 11, 2026 17:48
@github-actions github-actions Bot locked and limited conversation to collaborators May 11, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants