NetBox 2.10.0 - Adding Interface to Device Type Succeeds but Returns <class 'django.urls.exceptions.NoReverseMatch'> Error #4362

Closed
opened 2025-12-29 18:35:11 +01:00 by adam · 1 comment
Owner

Originally created by @lastwednesday on GitHub (Dec 15, 2020).

Environment

  • Python version: 3.8.3
  • NetBox version: 2.10.0

We have upgraded to Netbox 2.10.0 this morning and restarted services and rebooted the server as well just to be sure everything is up to date.

Steps to Reproduce

  1. Create a new Device Type or edit an existing Device Type
    image

  2. Choose option to add an Interface, either a single interface or using a pattern to add multiple
    image

  3. Click on Create button and observe the following error
    image

URL:
netbox/dcim/interface-templates/add/?device_type=&return_url=%23tab_interfaces

 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 '#tab_interfaces' not found. '#tab_interfaces' is not a valid view function or pattern name.

Python version: 3.8.3
NetBox version: 2.10.0
If further assistance is required, please post to the NetBox mailing list.
  1. Return to Home Page and then return to Device Type and find that the Interfaces were created even though an error was given
    image

Expected Behavior

When user adds an Interface to a Device Type, if it is successfully added user should not expect to see any errors presented.

Observed Behavior

User observes that an exception error is reported, however the action is successfully performed.

Originally created by @lastwednesday on GitHub (Dec 15, 2020). <!-- NOTE: IF YOUR ISSUE DOES NOT FOLLOW THIS TEMPLATE, IT WILL BE CLOSED. This form is only for reporting reproducible bugs. If you need assistance with NetBox installation, or if you have a general question, please start a discussion instead: https://github.com/netbox-community/netbox/discussions Please describe the environment in which you are running NetBox. Be sure that you are running an unmodified instance of the latest stable release before submitting a bug report, and that any plugins have been disabled. --> ### Environment * Python version: 3.8.3 * NetBox version: 2.10.0 <!-- Describe in detail the exact steps that someone else can take to reproduce this bug using the current stable release of NetBox. Begin with the creation of any necessary database objects and call out every operation being performed explicitly. If reporting a bug in the REST API, be sure to reconstruct the raw HTTP request(s) being made: Don't rely on a client library such as pynetbox. --> We have upgraded to Netbox 2.10.0 this morning and restarted services and rebooted the server as well just to be sure everything is up to date. ### Steps to Reproduce 1. Create a new Device Type or edit an existing Device Type ![image](https://user-images.githubusercontent.com/579420/102266918-baa57700-3ede-11eb-81e2-43196f969f45.png) 2. Choose option to add an Interface, either a single interface or using a pattern to add multiple ![image](https://user-images.githubusercontent.com/579420/102266968-d27cfb00-3ede-11eb-8453-24b4b5aad178.png) 3. Click on Create button and observe the following error ![image](https://user-images.githubusercontent.com/579420/102267114-0821e400-3edf-11eb-8be4-06bbb4ab10cf.png) URL: netbox/dcim/interface-templates/add/?device_type=&return_url=%23tab_interfaces ``` 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 '#tab_interfaces' not found. '#tab_interfaces' is not a valid view function or pattern name. Python version: 3.8.3 NetBox version: 2.10.0 If further assistance is required, please post to the NetBox mailing list. ``` 4. Return to Home Page and then return to Device Type and find that the Interfaces were created even though an error was given ![image](https://user-images.githubusercontent.com/579420/102267239-3c95a000-3edf-11eb-8730-1815b81c513b.png) <!-- What did you expect to happen? --> ### Expected Behavior When user adds an Interface to a Device Type, if it is successfully added user should not expect to see any errors presented. <!-- What happened instead? --> ### Observed Behavior User observes that an exception error is reported, however the action is successfully performed.
adam added the type: bugstatus: duplicate labels 2025-12-29 18:35:11 +01:00
adam closed this issue 2025-12-29 18:35:11 +01:00
Author
Owner

@DanSheps commented on GitHub (Dec 15, 2020):

Duplicate of #5458

@DanSheps commented on GitHub (Dec 15, 2020): Duplicate of #5458
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#4362