Skip to content

Conversation

@williamjallen
Copy link
Collaborator

The project imageid column was passed over in previous PRs introducing foreign-key constraints because the column used the value 0 to indicate a special case. This PR switches that logic to use null to represent the missing logo case, thus allowing us to add a proper foreign key constraint.

@williamjallen williamjallen force-pushed the project-logo-foreign-key-constraint branch from 3da6d9f to b23aa8f Compare December 31, 2025 03:30
Copy link
Member

@josephsnyder josephsnyder left a comment

Choose a reason for hiding this comment

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

Mostly looks good. I do get a 404 in the network tab when attempting the decache, which I think leads to the "Current Logo" not updating properly when the image is changed:

Image Image

@williamjallen
Copy link
Collaborator Author

@josephsnyder I also see that error on master. The image gets uploaded properly (as seen by reloading the page), so it's just the response that isn't handled correctly. I'll create a separate PR with the fix.

@josephsnyder josephsnyder added this pull request to the merge queue Jan 5, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 5, 2026
@williamjallen williamjallen added this pull request to the merge queue Jan 5, 2026
Merged via the queue into Kitware:master with commit 80854a8 Jan 5, 2026
7 checks passed
@williamjallen williamjallen deleted the project-logo-foreign-key-constraint branch January 5, 2026 21:38
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