Skip to content

bug: can create duplicate objects via proposed change #9704

Description

@ajtmccarty

Component

API Server / GraphQL

Infrahub version

1.10.0

Current Behavior

it is possible to create duplicate objects that violate a schemas uniqueness constraint using 2 proposed changes.

Expected Behavior

duplicate objects should never be created

Steps to Reproduce

  1. create branches br1 and br2
  2. create a new BuiltinTag with the same name on both branches
  3. create a proposed change for each branch
  4. merge one proposed change
  5. merge the other proposed change

now you have 2 tags with the same name, which is illegal

Additional Information

No response

Metadata

Metadata

Assignees

Labels

priority/1This issue must be fixed/implemented ASAP, it's a blocker for a releasetype/bugSomething isn't working as expected

Type

Fields

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions