Description
Deployment Type
Self-hosted
NetBox Version
v4.3.3
Python Version
3.10
Steps to Reproduce
- Add a new device role (/dcim/device-roles/add/) named "Building Automation"
- Add a further device role named "camera" with "Build Automation" as parent
- Add a further device role named "camera" with "Build Automation" as parent
- Add a further device role named "camera" with no parent
Expected Behavior
Creating a device role with the same hierarchy and name (and description) should not be possible.
Therefore, only the device role created under step 1,2 and 4 should be possible.
Observed Behavior
All device roles were created.
Device roles are created even if the same role exists already.