Assigning duplicate FHRP group to interface results in Integrity Error #9192

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

Originally created by @arthanson on GitHub (Feb 2, 2024).

Originally assigned to: @arthanson on GitHub.

Deployment Type

Self-hosted

NetBox Version

v3.7.1

Python Version

3.8

Steps to Reproduce

View an interface
Click "Assign Group" for FHRP
Input "Group" and "Priority"
Click "Create & Add Another"
Input the same "Group" and a "Priority"
Error

IntegrityError at /ipam/fhrp-group-assignments/add/
duplicate key value violates unique constraint "ipam_fhrpgroupassignment_unique_interface_group"

Expected Behavior

Should show "duplicate assignment" on edit form

Observed Behavior

IntegrityError was thrown.

Originally created by @arthanson on GitHub (Feb 2, 2024). Originally assigned to: @arthanson on GitHub. ### Deployment Type Self-hosted ### NetBox Version v3.7.1 ### Python Version 3.8 ### Steps to Reproduce View an interface Click "Assign Group" for FHRP Input "Group" and "Priority" Click "Create & Add Another" Input the same "Group" and a "Priority" Error ``` IntegrityError at /ipam/fhrp-group-assignments/add/ duplicate key value violates unique constraint "ipam_fhrpgroupassignment_unique_interface_group" ``` ### Expected Behavior Should show "duplicate assignment" on edit form ### Observed Behavior IntegrityError was thrown.
adam added the type: bugstatus: acceptedseverity: low labels 2025-12-29 20:46:48 +01:00
adam closed this issue 2025-12-29 20:46:48 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#9192