Netbox: Unable to modify or change position of a device within a rack due to javascript error in parseURL

Created on 20 Sep 2019  路  4Comments  路  Source: netbox-community/netbox

Environment

Python version: 3.6.8
NetBox version: 2.6.4

Steps to Reproduce

  1. Go on Device
  2. Create a device
    2.1. Go to Location section and populate the Site, Rack, Rack Face
    2.2. The Position drop-down menu is stuck in "Searching..." and U# is not showing up

Expected Behavior

In steps 2.2., the Position drop-down menu should show the list of U# for the specified rack.

What's working
Only for new devices that are created in the rack's "add device" button.
I can add a "new" device to the rack only if the device is newly created in the Racks/Site/Name/clicking on "add device" in the rack.
Also, in Rack/Elevations/clicking on "add device" in the rack.

accepted bug

Most helpful comment

Same problem here. This was working on an earlier version of netbox (i think 2.6.3). Trying to change the position of a device in a rack leads to the same not-opening drop-down.

All 4 comments

Same problem here. This was working on an earlier version of netbox (i think 2.6.3). Trying to change the position of a device in a rack leads to the same not-opening drop-down.

Hi,
Exactly the same problem here.

This was fixed in a1216fc1b7f48be207de7ea99ea1a957a9a1a458 I believe.

For a temporary fix:

git cherry-pick a1216fc1b7f48be207de7ea99ea1a957a9a1a458
python netbox/manage.py collectstatic --no-input

FYI for all, v2.6.5 was released today and addresses this issue, please upgrade.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Ali-Yazdani picture Ali-Yazdani  路  3Comments

tyler-8 picture tyler-8  路  3Comments

markve-sa picture markve-sa  路  4Comments

bellwood picture bellwood  路  3Comments

soer7022 picture soer7022  路  3Comments