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

bug: cannot update name of unique attribute on schema #6147

Open
ajtmccarty opened this issue Mar 25, 2025 · 0 comments
Open

bug: cannot update name of unique attribute on schema #6147

ajtmccarty opened this issue Mar 25, 2025 · 0 comments
Labels
priority/2 This issue stalls work on the project or its dependents, it's a blocker for a release state/need-triage This issue needs to be triaged type/bug Something isn't working as expected

Comments

@ajtmccarty
Copy link
Contributor

Component

No response

Infrahub version

v1.2.0

Current Behavior

attempting to load a schema that updates the name of an attribute with unique=True fails with an error similar to this
TestingPerson: Requested unique constraint not found within node. (name__value)'

Expected Behavior

You should be able to update the name of unique attribute

Steps to Reproduce

  1. load a schema with a unique attribute
  2. update the schema to change the name of the attribute from step 1. make sure to include the ID of the attribute. it can be found in the schema explorer
  3. try to load the updated schema

Additional Information

No response

@ajtmccarty ajtmccarty added the type/bug Something isn't working as expected label Mar 25, 2025
@exalate-issue-sync exalate-issue-sync bot added state/need-triage This issue needs to be triaged priority/2 This issue stalls work on the project or its dependents, it's a blocker for a release labels Mar 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority/2 This issue stalls work on the project or its dependents, it's a blocker for a release state/need-triage This issue needs to be triaged type/bug Something isn't working as expected
Projects
None yet
Development

No branches or pull requests

1 participant