Skip to content

Slug for L2VPN has no unique constraint #10070

@v0tti

Description

@v0tti

NetBox version

v3.3.0

Python version

3.9

Steps to Reproduce

  1. Create a L2VPN with name Test and slug test
  2. Create a L2VPN with name Test2 and slug test

Expected Behavior

I expect a warning to be displayed when trying to create the second L2VPN with the same slug as the one before. The slug should be an unique attribute. It is unique for other models i.e. Tenants.

Observed Behavior

The second L2VPN is created without a warning or an error. Two L2VPN with the same slug exist at the same time.

Metadata

Metadata

Assignees

Labels

status: 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