You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
django.db.utils.IntegrityError: duplicate key value violates unique constraint "nautobot_circuit_mainten_maintenance_id_title_f955987f_uniq"
DETAIL: Key (maintenance_id, title)=(646c824b-d576-4e4c-ba19-19eb307e8d1c, Nonexistent circuit ID _) already exists.
Steps to Reproduce
Receive and process an email notification that references the same nonexistent circuit ID more than once - in this case this appears to be due to the parser not recognizing that "Alternate Circuit ID" needs to be used instead of "Circuit ID", and so mistakenly thinking that the circuit ID _ is being referenced twice:
Job errors out.
Either we should remove the uniqueness constraint that requires that each Note on a CircuitMaintenance must have a unique title, or else we need to explicitly detect and handle the case where a duplicate note would be created and avoid this exception.
The text was updated successfully, but these errors were encountered:
Environment
Expected Behavior
Circuit maintenance job to run to completion
Observed Behavior
Steps to Reproduce
_
is being referenced twice:Either we should remove the uniqueness constraint that requires that each Note on a CircuitMaintenance must have a unique
title
, or else we need to explicitly detect and handle the case where a duplicate note would be created and avoid this exception.The text was updated successfully, but these errors were encountered: