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

Renaming an area does not allow you to create another area with the same name #408

Closed
julianlam opened this issue Nov 7, 2024 · 3 comments

Comments

@julianlam
Copy link

Steps to reproduce:

  1. Create an area abc
  2. Rename it to def
  3. Attempt to create a new area abc

Received error:

Unexpected error: E11000 duplicate key error collection: prod-openbeta.areas index: metadata.area_id_1 dup key: { metadata.area_id: UUID("6a4f8206-cea5-54a8-b5c3-a833520577c5") }

@julianlam
Copy link
Author

Note: Editing an area to a once-used name seems to be fine.

@CocoisBuggy
Copy link
Contributor

I think this may be linked to #409 It's a holdover from when we were frequently seeding data and didn't have many edit features for the actual data

@CocoisBuggy
Copy link
Contributor

should be resolved by #410

CocoisBuggy added a commit that referenced this issue Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants