No error shown for duplicate component names in device type import #9263

Closed
opened 2025-12-29 20:47:38 +01:00 by adam · 0 comments
Owner

Originally created by @candlerb on GitHub (Feb 17, 2024).

Originally assigned to: @abhi1693 on GitHub.

Deployment Type

Self-hosted

NetBox Version

v3.7.2

Python Version

3.8

Steps to Reproduce

Go to Device Types > Import and paste in the following YAML

---
manufacturer: APC
model: AP7868-test
slug: apc-ap7868-test
u_height: 0
power-ports:
  - name: Power Port 1
    type: cs8365c
  - name: Power Port 2
    type: cs8365c
  - name: Power Port 2
    type: cs8365c

(trimmed from case in discussion #15182)

Expected Behavior

An error to be displayed (ideally identifying the duplicate component name)

Observed Behavior

Netbox silently returns to the import screen. There is no indication that there was an error, but the import does not complete.

Originally created by @candlerb on GitHub (Feb 17, 2024). Originally assigned to: @abhi1693 on GitHub. ### Deployment Type Self-hosted ### NetBox Version v3.7.2 ### Python Version 3.8 ### Steps to Reproduce Go to Device Types > Import and paste in the following YAML ``` --- manufacturer: APC model: AP7868-test slug: apc-ap7868-test u_height: 0 power-ports: - name: Power Port 1 type: cs8365c - name: Power Port 2 type: cs8365c - name: Power Port 2 type: cs8365c ``` (trimmed from case in discussion #15182) ### Expected Behavior An error to be displayed (ideally identifying the duplicate component name) ### Observed Behavior Netbox silently returns to the import screen. There is no indication that there was an error, but the import does not complete.
adam added the type: bugstatus: acceptedseverity: low labels 2025-12-29 20:47:38 +01:00
adam closed this issue 2025-12-29 20:47:38 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#9263