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

Rename identifier can overwrite other identifiers with same name #322

Open
iFergal opened this issue Nov 18, 2024 · 0 comments
Open

Rename identifier can overwrite other identifiers with same name #322

iFergal opened this issue Nov 18, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@iFergal
Copy link
Collaborator

iFergal commented Nov 18, 2024

Version

Latest main

Environment

No response

Expected behavior

When renaming an identifier, if the new name already exists for another identifier the update should be rejected.

Actual behavior

The identifier is updated successfully.

Steps to reproduce

  • Create identifier with name aid1
  • Create identifier with name aid2
  • Call client.identifiers().update("aid2", { name: "aid1" })

Now, both identifiers have the same name but habByName will return the second.

@iFergal iFergal added the bug Something isn't working label Nov 18, 2024
@iFergal iFergal self-assigned this Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant