Creating interface with duplicate name does not return error #7591

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

Originally created by @koratfood on GitHub (Feb 2, 2023).

Originally assigned to: @jeremystretch on GitHub.

NetBox version

v3.4.3

Python version

3.10

Steps to Reproduce

  1. Create a device called "Device1"
  2. Create an interface on the device called "Ethernet1"
  3. Try to create another interface on the device called "Ethernet1"

Expected Behavior

Netbox throws an error saying names cannot be duplicated.

Observed Behavior

"Add a new interface" page reloads, no error is thrown/shown.

Originally created by @koratfood on GitHub (Feb 2, 2023). Originally assigned to: @jeremystretch on GitHub. ### NetBox version v3.4.3 ### Python version 3.10 ### Steps to Reproduce 1. Create a device called "Device1" 2. Create an interface on the device called "Ethernet1" 3. Try to create another interface on the device called "Ethernet1" ### Expected Behavior Netbox throws an error saying names cannot be duplicated. ### Observed Behavior "Add a new interface" page reloads, no error is thrown/shown.
adam added the type: bugstatus: accepted labels 2025-12-29 20:25:50 +01:00
adam closed this issue 2025-12-29 20:25:50 +01:00
Author
Owner

@jeremystretch commented on GitHub (Feb 2, 2023):

Looks like the error message is getting attached to the individual model form and not replicated to the "parent" form that enables multi-component creation.

@jeremystretch commented on GitHub (Feb 2, 2023): Looks like the error message is getting attached to the individual model form and not replicated to the "parent" form that enables multi-component creation.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#7591