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] Recovering device with deleted related location throws uncaught exception #936

Open
nemesifier opened this issue Nov 5, 2024 · 0 comments
Labels

Comments

@nemesifier
Copy link
Member

Describe the bug
Trying to recover a device with a related location which was also deleted throws an uncaught exception: Location matching query does not exist..

Steps To Reproduce
Steps to reproduce the behavior:

  • Create a location
  • Create a device, assign the location to it
  • Delete the device
  • Delete the location
  • Try to recover the device using django-reversion (go to recover deleted device, click on the deleted device)

Expected behavior

The page opens up normally. Maybe we can allow recovering the deleted location too? That would be really nice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: To do (general)
Development

No branches or pull requests

1 participant