Skip to content

Bulk import of devices crashes the WebUI if device_type is not found and rack/location info is given #8724

@empusas

Description

@empusas

NetBox version

v3.1.5

Python version

3.9

Steps to Reproduce

  1. Create a device import with an unknown device type and rack and location info.
  2. past the content into the web interface bulk import
  3. start the import

example
tenant,manufacturer,device_role,device_type,name,site,location,rack,position,face,status
lulu,Cisco,Access Switch,Cata8T-4G,Gandalf,Neverland,Room 1,14,24,front,active

Expected Behavior

A red popup error message should appear like for any other issues with the imported data.
image001

Observed Behavior

The WebUI crashes with a server error.
image002

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions