Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port/Outlet Connection Issues After 2.0.3 to 2.0.6 upgrade #1265

Closed
swickstrom opened this issue Jun 13, 2017 · 5 comments
Closed

Port/Outlet Connection Issues After 2.0.3 to 2.0.6 upgrade #1265

swickstrom opened this issue Jun 13, 2017 · 5 comments
Labels
type: bug A confirmed report of unexpected behavior in the application

Comments

@swickstrom
Copy link

swickstrom commented Jun 13, 2017

After upgrading from 2.0.3 to 2.0.6 Netbox no longer will create interface connections, be they PDU outlet, SLC port, or switch ports.
Process for generating the issue is attempt to create connection, hit connect, page refreshes but still shows original selections, hitting connect a second time refreshes the page and presents the below errors.
screen shot 2017-06-13 at 11 49 04 am
screen shot 2017-06-13 at 11 49 30 am
screen shot 2017-06-13 at 11 54 01 am
Once these errors are presented, no outlet/port/interface options exist under the dropdown menu.
OS info:
Linux netbox0-01-ussnn1.prod.dc.dynback.net 4.2.0-42-generic #49~14.04.1-Ubuntu SMP Wed Jun 29 20:22:11 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Python info:
Python 2.7.6 (default, Oct 26 2016, 20:30:19) [GCC 4.8.4] on linux2
Netbox info:
v2.0.6

@jeremystretch
Copy link
Member

AFAICT this only occurs when using the "search" option to choose a device. Seems like this issue keeps resurfacing. The crux of the bug is that the form is trying to validate the parent device field, which doesn't get populated when a device is chosen via the search field. (After submitting the form, you can see the validation error under the "select" tab.)

Will need some time to figure out a permanent solution.

@jeremystretch jeremystretch added the type: bug A confirmed report of unexpected behavior in the application label Jun 13, 2017
@swickstrom
Copy link
Author

I seem to still be experiencing this issue after pushing v2.0.7 to our DEV instance:
screen shot 2017-06-15 at 3 06 23 pm
screen shot 2017-06-15 at 3 06 38 pm

@jeremystretch
Copy link
Member

@swickstrom try forcing a refresh (ctrl+F5 or equivalent) to make sure the new javascript was pulled down.

@swickstrom
Copy link
Author

Unfortunately that has not fixed said issue; tested on Chrome, Safari, and Firefox (Chrome is the default browser used).

@jeremystretch
Copy link
Member

@swickstrom Are you sure the static files have been upgraded? Try running ./manage.py collectstatic.

If you still have the issue after this, please post the explicit list of steps you're taking to reproduce the issue.

lampwins pushed a commit to lampwins/netbox that referenced this issue Oct 13, 2017
…alidation when selecting a device via live search
lampwins pushed a commit to lampwins/netbox that referenced this issue Oct 13, 2017
@lock lock bot locked as resolved and limited conversation to collaborators Jan 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug A confirmed report of unexpected behavior in the application
Projects
None yet
Development

No branches or pull requests

2 participants