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

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

Originally created by @duckw on GitHub (Nov 10, 2025).

Originally assigned to: @arthanson on GitHub.

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

Originally created by @duckw on GitHub (Nov 10, 2025). Originally assigned to: @arthanson on GitHub. ### 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
adam added the type: bugstatus: acceptednetboxseverity: low labels 2025-12-29 21:50:16 +01:00
adam closed this issue 2025-12-29 21:50:16 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#11819