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

IFC-993 Fix uniqueness constraint with enum attributes #5195

Merged
merged 3 commits into from
Dec 12, 2024

Conversation

gmazoyer
Copy link
Contributor

The actual value of the enum member was not checked. Instead a string representation of the member was used, which was causing the database query to never match any nodes.

@github-actions github-actions bot added the group/backend Issue related to the backend (API Server, Git Agent) label Dec 11, 2024
Copy link

codspeed-hq bot commented Dec 11, 2024

CodSpeed Performance Report

Merging #5195 will not alter performance

Comparing gma-20241211-ifc993 (5acf443) with release-1.1 (90c67bf)

Summary

✅ 10 untouched benchmarks

The actual value of the enum member was not checked. Instead a string
representation of the member was used, which was causing the database
query to never match any nodes.
@gmazoyer gmazoyer requested a review from a team December 12, 2024 14:30
Copy link
Contributor

@ajtmccarty ajtmccarty left a comment

Choose a reason for hiding this comment

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

might be good to do this one on stable

@gmazoyer gmazoyer changed the base branch from release-1.1 to stable December 12, 2024 17:22
@gmazoyer gmazoyer changed the base branch from stable to release-1.1 December 12, 2024 17:23
@gmazoyer gmazoyer merged commit 101bfbe into release-1.1 Dec 12, 2024
33 checks passed
@gmazoyer gmazoyer deleted the gma-20241211-ifc993 branch December 12, 2024 20:11
gmazoyer added a commit that referenced this pull request Dec 12, 2024
The actual value of the enum member was not checked. Instead a string
representation of the member was used, which was causing the database
query to never match any nodes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
group/backend Issue related to the backend (API Server, Git Agent)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: uniqueness constraints are not enforced when creating CoreObjectPermission and CoreGlobalPermission nodes
2 participants