Skip to content

Device bulk rename fails when a device with no name is selected #20775

@duckw

Description

@duckw

NetBox Edition

NetBox Community

NetBox Version

v4.4.5

Python Version

3.12

Steps to Reproduce

  1. Create a device with a name and another without a name
  2. Select both in the device list for bulk rename
  3. Enter values for find and replace
  4. Click Preview

Expected Behavior

Either the devices without names should be removed from the list or it safely ignores them

Observed Behavior

<class 'TypeError'>

expected string or bytes-like object, got 'NoneType'

Python version: 3.12.3
NetBox version: 4.4.5

Metadata

Metadata

Assignees

Labels

netboxseverity: lowDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions