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

RelatedObjectDoesNotExist at /dcim/devices/import/child-devices/ #307

Closed
ronniefalcon opened this issue Jul 15, 2016 · 6 comments
Closed
Labels
type: bug A confirmed report of unexpected behavior in the application

Comments

@ronniefalcon
Copy link

ronniefalcon commented Jul 15, 2016

I am trying to mass import child devices and receiving this error:

Internal Server Error: /dcim/devices/import/child-devices/

RelatedObjectDoesNotExist at /dcim/devices/import/child-devices/
Device has no device_type.

Attached the bug report. Do you need anything else?

bug_report_15072016.txt

@ronniefalcon
Copy link
Author

This is what I was trying to import:

xx011,Renderblade,xxx,i7-2770k,,,xx-CHASSIS-002,3

@ronniefalcon
Copy link
Author

Ignore me. This is user error.

@jeremystretch
Copy link
Member

Glad you figured it out, but that exception should never be exposed to the user.

@jeremystretch jeremystretch reopened this Jul 15, 2016
@jeremystretch jeremystretch added the type: bug A confirmed report of unexpected behavior in the application label Jul 15, 2016
@ronniefalcon
Copy link
Author

It was emailed to the admin. (myself)

@jeremystretch
Copy link
Member

Oh, sure, I mean it shouldn't cause a server error. It should instead return a validation error within the import form. Working on a fix right now.

@ronniefalcon
Copy link
Author

Oh, I see. OK. Cool.

if-fi pushed a commit to if-fi/netbox that referenced this issue Oct 1, 2016
@lock lock bot locked as resolved and limited conversation to collaborators Jan 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug A confirmed report of unexpected behavior in the application
Projects
None yet
Development

No branches or pull requests

2 participants