Device import specifying an invalid device type yields an exception #2047

Closed
opened 2025-12-29 17:21:45 +01:00 by adam · 0 comments
Owner

Originally created by @jeremystretch on GitHub (Oct 5, 2018).

Environment

  • Python version: 3.5.2
  • NetBox version: 2.4.5

Steps to Reproduce

Attempt to import one or more devices, specifying a platform and an invalid manufacturer and/or model name.

Expected Behavior

The import form should return an error message indicating the issue.

Observed Behavior

An RelatedObjectDoesNotExist exception is raised.

Originally created by @jeremystretch on GitHub (Oct 5, 2018). ### Environment * Python version: 3.5.2 * NetBox version: 2.4.5 ### Steps to Reproduce Attempt to import one or more devices, specifying a platform and an invalid manufacturer and/or model name. ### Expected Behavior The import form should return an error message indicating the issue. ### Observed Behavior An `RelatedObjectDoesNotExist` exception is raised.
adam added the type: bugstatus: accepted labels 2025-12-29 17:21:45 +01:00
adam closed this issue 2025-12-29 17:21:45 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#2047