Skip to content

Fix shared build type model on Manage Build Groups page - #4163

Merged
josephsnyder merged 1 commit into
Kitware:masterfrom
williamjallen:buildgroup-shared-model-fix
Oct 30, 2026
Merged

josephsnyder merged 1 commit into
Kitware:masterfrom
williamjallen:buildgroup-shared-model-fix

Conversation

@williamjallen

Copy link
Copy Markdown
Member

On the Manage BuildGroups page, choosing a Build Type on the Wildcard BuildGroups tab broke the Create new BuildGroup tab, so new groups failed to save with a server error. Each tab now keeps its own Build Type selection.

To reproduce

  1. As a project admin, open manageBuildGroup.php?projectid=<id>.
  2. On the Wildcard BuildGroups tab, choose any Build Type.
  3. Switch to Create new BuildGroup, enter a name, and click Create BuildGroup.

On the Manage BuildGroups page, choosing a Build Type on the Wildcard BuildGroups tab broke the Create new BuildGroup tab, so new groups failed to save with a server error. Each tab now keeps its own Build Type selection.

### To reproduce
1. As a project admin, open `manageBuildGroup.php?projectid=<id>`.
2. On the **Wildcard BuildGroups** tab, choose any Build Type.
3. Switch to **Create new BuildGroup**, enter a name, and click **Create BuildGroup**.

@josephsnyder josephsnyder left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

No errors on after applying the patch.

I also created #4181 which I found during testing of this MR

@josephsnyder
josephsnyder added this pull request to the merge queue Oct 30, 2026
Merged via the queue into Kitware:master with commit c1266b5 Oct 30, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants