Skip to content

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

@candlerb

Description

@candlerb

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.

Metadata

Metadata

Assignees

Labels

severity: lowDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions