Setting Tags in Virtual Device Contexts and displaying the Tags column causes an error #8990

Closed
opened 2025-12-29 20:43:55 +01:00 by adam · 1 comment
Owner

Originally created by @grncbg on GitHub (Dec 21, 2023).

Originally assigned to: @jeremystretch on GitHub.

Deployment Type

Self-hosted

NetBox Version

v3.6.7

Python Version

3.8

Steps to Reproduce

  1. Add a new virtual device context with tags
    Add
  2. Navigate to "Virtual Device Contexts" and press the "Configure Table" button.
  3. Add the Tags column and press Save.
    Add the Tags column
  4. A NoReverseMatch Exception was raised
    Causes an error

Server Error
There was a problem with your request. Please contact an administrator.

The complete exception is provided below:

<class 'django.urls.exceptions.NoReverseMatch'>

Reverse for 'vdc_list' not found. 'vdc_list' is not a valid view function or pattern name.

Python version: 3.8.10
NetBox version: 3.6.7
Plugins:
netbox_demo: 0.3.1
If further assistance is required, please post to the NetBox discussion forum on GitHub.

Expected Behavior

The Virtual Device Contexts with the added Tags column are displayed.

Observed Behavior

A NoReverseMatch Exception was raised

Originally created by @grncbg on GitHub (Dec 21, 2023). Originally assigned to: @jeremystretch on GitHub. ### Deployment Type Self-hosted ### NetBox Version v3.6.7 ### Python Version 3.8 ### Steps to Reproduce 1. Add a new virtual device context with tags ![Add](https://github.com/netbox-community/netbox/assets/20819471/eeaed5c9-5097-4472-b06f-7000fbd3dc4b) 1. Navigate to "Virtual Device Contexts" and press the "Configure Table" button. 1. Add the Tags column and press Save. ![Add the Tags column](https://github.com/netbox-community/netbox/assets/20819471/fdf26c28-ec38-482b-9508-3d4426617b46) 1. A NoReverseMatch Exception was raised ![Causes an error](https://github.com/netbox-community/netbox/assets/20819471/99d50350-c326-4f77-b0f7-694a69aa8b9b) > Server Error > There was a problem with your request. Please contact an administrator. > > The complete exception is provided below: > > <class 'django.urls.exceptions.NoReverseMatch'> > > Reverse for 'vdc_list' not found. 'vdc_list' is not a valid view function or pattern name. > > Python version: 3.8.10 > NetBox version: 3.6.7 > Plugins: > netbox_demo: 0.3.1 > If further assistance is required, please post to the NetBox discussion forum on GitHub. ### Expected Behavior The Virtual Device Contexts with the added Tags column are displayed. ### Observed Behavior A NoReverseMatch Exception was raised
adam added the type: bugstatus: acceptedseverity: low labels 2025-12-29 20:43:55 +01:00
adam closed this issue 2025-12-29 20:43:55 +01:00
Author
Owner

@grncbg commented on GitHub (Dec 21, 2023):

In netbox/dcim/tables/devices.py, the url_name is defined as dcim:vdc_list, but I think it should correctly be dcim:virtualdevicecontext_list.

12beac4f1a/netbox/dcim/tables/devices.py (L1080C1-L1082C6)
12beac4f1a/netbox/dcim/urls.py (L186)

After making the above changes, it is functioning as expected in my environment.

@grncbg commented on GitHub (Dec 21, 2023): In `netbox/dcim/tables/devices.py`, the url_name is defined as `dcim:vdc_list`, but I think it should correctly be `dcim:virtualdevicecontext_list`. https://github.com/netbox-community/netbox/blob/12beac4f1adc5be8dba927f9823e0bd904dcf60f/netbox/dcim/tables/devices.py#L1080C1-L1082C6 https://github.com/netbox-community/netbox/blob/12beac4f1adc5be8dba927f9823e0bd904dcf60f/netbox/dcim/urls.py#L186 After making the above changes, it is functioning as expected in my environment.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#8990