-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Internal server error on PATCH request to device bay #3596
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
Comments
Hello, I am unable to reproduce this on https://master.netbox.dansheps.com/:
This does not present any error. Could you please provide reproducible steps? |
Revised the issue description. Turns out the failure was triggered by trying to install the same child device into two different device bays. More of a logical error now, of course, but it could still be handled more gracefully. |
Thanks for confirming ajknv, I do agree that it should be a proper API error message, instead of what you are receiving. |
Uh oh!
There was an error while loading. Please reload this page.
Environment
Steps to Reproduce
Expected Behavior
Installing the same child device twice into separate device bays can be reasonably viewed as an error, but the error should be a graceful application error of some kind rather than an internal server error. (Alternately/debatably the request could be treated as a movement of the child device from one bay to another.)
Observed Behavior
An internal server error tracing a duplicate key violation exception:
The text was updated successfully, but these errors were encountered: