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

Deleting and re-creating a site tag throws a 500 error #197

Open
daniel-slaugh opened this issue Aug 15, 2024 · 0 comments
Open

Deleting and re-creating a site tag throws a 500 error #197

daniel-slaugh opened this issue Aug 15, 2024 · 0 comments
Assignees
Labels
backend Associated with the backend repository 🐞bug Something isn't working data mgmt app Associated with the data management app
Milestone

Comments

@daniel-slaugh
Copy link
Contributor

Steps to reproduce:

  1. Add a tag to a site and save
  2. Go to the 'edit site' form
  3. Click remove for the tag but don't save yet
  4. Create a new tag with the same key as the deleted tag
  5. Save

This should successfully delete the one and create the other, but instead it deletes the first and throws a 500 error on the second:

POST
https://udwri.hydroserver.org/api/data/things/c5808394-362b-4f99-a4ae-5c5129c797bc/tags
Failed to upload tags: SyntaxError: Unexpected token 'T', "Traceback "... is not valid JSON

@daniel-slaugh daniel-slaugh added 🐞bug Something isn't working data mgmt app Associated with the data management app backend Associated with the backend repository labels Aug 15, 2024
@daniel-slaugh daniel-slaugh added this to the v0.11.0 milestone Aug 15, 2024
@kjlippold kjlippold modified the milestones: v0.11.0, v0.12.0 Aug 30, 2024
@kjlippold kjlippold modified the milestones: v0.12.0, v0.13.0 Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Associated with the backend repository 🐞bug Something isn't working data mgmt app Associated with the data management app
Projects
None yet
Development

No branches or pull requests

2 participants