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

Closed
opened 2025-12-29 18:23:10 +01:00 by adam · 4 comments
Owner

Originally created by @kabaga on GitHub (Sep 20, 2019).

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.

Originally created by @kabaga on GitHub (Sep 20, 2019). **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.
adam added the type: bugstatus: accepted labels 2025-12-29 18:23:10 +01:00
adam closed this issue 2025-12-29 18:23:10 +01:00
Author
Owner

@JuergenKammer commented on GitHub (Sep 20, 2019):

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.

@JuergenKammer commented on GitHub (Sep 20, 2019): 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.
Author
Owner

@aamsaleg commented on GitHub (Sep 23, 2019):

Hi,
Exactly the same problem here.

@aamsaleg commented on GitHub (Sep 23, 2019): Hi, Exactly the same problem here.
Author
Owner

@DanSheps commented on GitHub (Sep 23, 2019):

This was fixed in a1216fc1b7 I believe.

For a temporary fix:

git cherry-pick a1216fc1b7f48be207de7ea99ea1a957a9a1a458
python netbox/manage.py collectstatic --no-input
@DanSheps commented on GitHub (Sep 23, 2019): This was fixed in a1216fc1b7f48be207de7ea99ea1a957a9a1a458 I believe. For a temporary fix: ``` git cherry-pick a1216fc1b7f48be207de7ea99ea1a957a9a1a458 python netbox/manage.py collectstatic --no-input ```
Author
Owner

@lampwins commented on GitHub (Sep 25, 2019):

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

@lampwins commented on GitHub (Sep 25, 2019): FYI for all, v2.6.5 was released today and addresses this issue, please upgrade.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#2891