RecursionError when a virtual chasis master device has no name #1521

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

Originally created by @jeremystretch on GitHub (Jan 30, 2018).

Issue type

[ ] Feature request
[x] Bug report
[ ] Documentation

Environment

  • Python version: 3.5.2
  • NetBox version: 2.3-beta1

Description

There is a recursion loop when attempting to generate a display name for an unnamed device which is a VC member and its master is also unnamed. To recreate:

  1. Create two unnamed devices
  2. Create a new virtual chassis with either device as the master
Originally created by @jeremystretch on GitHub (Jan 30, 2018). ### Issue type [ ] Feature request <!-- An enhancement of existing functionality --> [x] Bug report <!-- Unexpected or erroneous behavior --> [ ] Documentation <!-- A modification to the documentation --> ### Environment * Python version: 3.5.2 * NetBox version: 2.3-beta1 ### Description There is a recursion loop when attempting to generate a display name for an unnamed device which is a VC member and its master is also unnamed. To recreate: 1. Create two unnamed devices 2. Create a new virtual chassis with either device as the master
adam added the type: bugstatus: accepted labels 2025-12-29 16:32:39 +01:00
adam closed this issue 2025-12-29 16:32:39 +01:00
Author
Owner

@jeremystretch commented on GitHub (Jan 30, 2018):

Fixed in 215156c333

@jeremystretch commented on GitHub (Jan 30, 2018): Fixed in 215156c3337f3351707a8720ae59c8b9ce5069f2
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#1521