Skip to content

[COMMS-918] Make WP BaseContract correctly detect WPs with closed versions - #24409

Open
brunopagno wants to merge 2 commits into
devfrom
blp/impl/comms-918-base-contract-closed-versions
Open

[COMMS-918] Make WP BaseContract correctly detect WPs with closed versions#24409
brunopagno wants to merge 2 commits into
devfrom
blp/impl/comms-918-base-contract-closed-versions

Conversation

@brunopagno

@brunopagno brunopagno commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Ticket

https://community.openproject.org/projects/FND/work_packages/COMMS-918/activity

What are you trying to accomplish?

A validation if the status of a work package can be updated checks if both version and status is closed. If so, it does not allow changing.

This behaviour needs to be updated to work with multiple versions. This PR addresses that by validating if any associated version is closed, then it does not allow changing the status.

Merge checklist

  • Added/updated tests
  • Added/updated documentation in Lookbook (patterns, previews, etc)
  • Tested major browsers (Chrome, Firefox, Edge, ...)

@brunopagno brunopagno self-assigned this Jul 23, 2026
@brunopagno
brunopagno requested a review from a team July 23, 2026 11:00
@brunopagno
brunopagno marked this pull request as ready for review July 23, 2026 11:01
@github-actions

Copy link
Copy Markdown

Caution

The provided work package version does not match the core version

Details:

Please make sure that:

  • The work package version OR your pull request target branch is correct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant