Unnamed Device Error #762

Closed
opened 2025-12-29 16:25:34 +01:00 by adam · 1 comment
Owner

Originally created by @therealjoshuad on GitHub (Mar 10, 2017).

Issue type:

Bug Report

Python version: 2.7.12
NetBox version: 1.9.0-r1
OS version: Ubuntu 16.04.2

I was creating a device, and accidentally left the device name blank. I got this error:
image

I now have a "unnamed device"
image

If I try to edit, or delete the device, I get the same error from above
image

Originally created by @therealjoshuad on GitHub (Mar 10, 2017). <!-- Please note: GitHub issues are to be used only for feature requests and bug reports. For installation assistance or general discussion, please join us on the mailing list: https://groups.google.com/forum/#!forum/netbox-discuss Please indicate "bug report" or "feature request" below. Be sure to search the existing set of issues (both open and closed) to see if a similar issue has already been raised. --> ### Issue type: Bug Report <!-- If filing a bug, please indicate the version of Python and NetBox you are running. (This is not necessary for feature requests.) --> **Python version:** 2.7.12 **NetBox version:** 1.9.0-r1 **OS version:** Ubuntu 16.04.2 <!-- If filing a bug, please record the exact steps taken to reproduce the bug and any errors messages that are generated. If filing a feature request, please precisely describe the data model or workflow you would like to see implemented, and provide a use case. --> I was creating a device, and accidentally left the device name blank. I got this error: ![image](https://cloud.githubusercontent.com/assets/3893036/23801361/810d31dc-0575-11e7-9583-e3ba51a1386f.png) I now have a "unnamed device" ![image](https://cloud.githubusercontent.com/assets/3893036/23801416/b8b1ca44-0575-11e7-9833-5fb5df7b65d8.png) If I try to edit, or delete the device, I get the same error from above ![image](https://cloud.githubusercontent.com/assets/3893036/23801435/c6db6ee0-0575-11e7-99ac-8d24f957934b.png)
adam added the type: bug label 2025-12-29 16:25:34 +01:00
adam closed this issue 2025-12-29 16:25:35 +01:00
Author
Owner

@jeremystretch commented on GitHub (Mar 13, 2017):

This bug occurs when an unnamed device has no rack assigned. The display_name method had not been updated to allow for rackless devices.

@jeremystretch commented on GitHub (Mar 13, 2017): This bug occurs when an unnamed device has no rack assigned. The `display_name` method had not been updated to allow for rackless devices.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#762