DeviceType value for Parent/Child missing in WebUI #3569

Closed
opened 2025-12-29 18:29:56 +01:00 by adam · 0 comments
Owner

Originally created by @netsandbox on GitHub (Apr 14, 2020).

Originally assigned to: @jeremystretch on GitHub.

Environment

  • Python version: 3.6.9
  • NetBox version: 2.7.12

Steps to Reproduce

  1. create DeviceType with Parent/child status set to either parent or child
  2. display above created DeviceType, Parent/child status is missing

Expected Behavior

DeviceType shows Parent/child status

Observed Behavior

DeviceType doesn't show Parent/child status

Commit afd82fd9 changed DeviceType.subdevice_role from boolean to slug, but missed to update the devicetype.html template, which contains a special handling for the previous boolean subdevice_role value:
819f842cf1/netbox/templates/dcim/devicetype.html (L102-L113)

Originally created by @netsandbox on GitHub (Apr 14, 2020). Originally assigned to: @jeremystretch on GitHub. ### Environment * Python version: 3.6.9 * NetBox version: 2.7.12 ### Steps to Reproduce 1. create DeviceType with Parent/child status set to either parent or child 2. display above created DeviceType, Parent/child status is missing ### Expected Behavior DeviceType shows Parent/child status ### Observed Behavior DeviceType doesn't show Parent/child status Commit afd82fd9 changed DeviceType.subdevice_role from boolean to slug, but missed to update the `devicetype.html` template, which contains a special handling for the previous boolean subdevice_role value: https://github.com/netbox-community/netbox/blob/819f842cf1a8c5e2f2816090a6de53611babce0f/netbox/templates/dcim/devicetype.html#L102-L113
adam added the type: bugstatus: accepted labels 2025-12-29 18:29:56 +01:00
adam closed this issue 2025-12-29 18:29:56 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#3569