Unable to create an interface connection when searching for peer device #964

Closed
opened 2025-12-29 16:27:23 +01:00 by adam · 2 comments
Owner

Originally created by @jeremystretch on GitHub (May 17, 2017).

Issue type: Bug report

Python version: 3.4.3
NetBox version: 2.0.2

To reproduce:

  1. Go to a device and click the "Connect" button
  2. Search for and select a peer device, and select one of its interfaces
  3. Submit the form
  4. The form will be returned with no obvious errors. Click the "Select" tab and there will be an error assigned to the Device field:

Select a valid choice. That choice is not one of the available choices.

This error does not occur when selecting a device using the dropdowns under the "Select" tab instead of searching for a device by name.

Originally created by @jeremystretch on GitHub (May 17, 2017). ### Issue type: Bug report **Python version:** 3.4.3 **NetBox version:** 2.0.2 To reproduce: 1. Go to a device and click the "Connect" button 2. Search for and select a peer device, and select one of its interfaces 3. Submit the form 4. The form will be returned with no obvious errors. Click the "Select" tab and there will be an error assigned to the Device field: > Select a valid choice. That choice is not one of the available choices. This error does not occur when selecting a device using the dropdowns under the "Select" tab instead of searching for a device by name.
adam added the type: bug label 2025-12-29 16:27:23 +01:00
adam closed this issue 2025-12-29 16:27:23 +01:00
Author
Owner

@phurrelmann commented on GitHub (May 18, 2017):

I'm facing the same issue, but an error is shown:

<class 'django.db.models.fields.related_descriptors.RelatedObjectDoesNotExist'>

InterfaceConnection has no interface_b.

@phurrelmann commented on GitHub (May 18, 2017): I'm facing the same issue, but an error is shown: <class 'django.db.models.fields.related_descriptors.RelatedObjectDoesNotExist'> InterfaceConnection has no interface_b.
Author
Owner

@jeremystretch commented on GitHub (May 18, 2017):

@phurrelmann This seems to happen only after submitting the form a second time.

@jeremystretch commented on GitHub (May 18, 2017): @phurrelmann This seems to happen only after submitting the form a second time.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#964