We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d03859b commit a543bd4Copy full SHA for a543bd4
netbox/dcim/forms/bulk_import.py
@@ -1192,7 +1192,7 @@ def _clean_side(self, side):
1192
termination_object = model.objects.get(device__in=device.virtual_chassis.members.all(), name=name)
1193
else:
1194
termination_object = model.objects.get(device=device, name=name)
1195
- if termination_object.cable is not None:
+ if termination_object.cable is not None and termination_object.cable != self.instance:
1196
raise forms.ValidationError(f"Side {side.upper()}: {device} {termination_object} is already connected")
1197
except ObjectDoesNotExist:
1198
raise forms.ValidationError(f"{side.upper()} side termination not found: {device} {name}")
0 commit comments