Device selector does not work #10874

Closed
opened 2025-12-29 21:37:06 +01:00 by adam · 7 comments
Owner

Originally created by @KrisLowet on GitHub (Mar 11, 2025).

Deployment Type

Self-hosted

NetBox Version

v4.2.5

Python Version

3.11

Steps to Reproduce

  1. Go to a device.
  2. Go to an interface or power port.
  3. Click 'Connect cable' icon.
  4. Choose a port / interface / outlet.
  5. Click the 'Open selector' icon next to the 'Device' input field.
  6. In the pop-up, set some filters and click 'Search'.

No output is shown then.

Image

Expected Behavior

I would expect a list of available devices.

Observed Behavior

When you click the 'Search' button, nothing happens. No devices are shown.

Originally created by @KrisLowet on GitHub (Mar 11, 2025). ### Deployment Type Self-hosted ### NetBox Version v4.2.5 ### Python Version 3.11 ### Steps to Reproduce 1. Go to a device. 2. Go to an interface or power port. 3. Click 'Connect cable' icon. 4. Choose a port / interface / outlet. 5. Click the 'Open selector' icon next to the 'Device' input field. 6. In the pop-up, set some filters and click 'Search'. No output is shown then. ![Image](https://github.com/user-attachments/assets/d5e2bb69-043b-4174-abe5-9aaa7eb49140) ### Expected Behavior I would expect a list of available devices. ### Observed Behavior When you click the 'Search' button, nothing happens. No devices are shown.
adam closed this issue 2025-12-29 21:37:07 +01:00
Author
Owner

@jnovinger commented on GitHub (Mar 11, 2025):

@KrisLowet , I'm not able to reproduce this use the steps you listed above with the demo data set. Am I missing something?

Image

@jnovinger commented on GitHub (Mar 11, 2025): @KrisLowet , I'm not able to reproduce this use the steps you listed above with the demo data set. Am I missing something? ![Image](https://github.com/user-attachments/assets/1cd4970d-e18c-411f-84e8-6086295c9706)
Author
Owner

@KrisLowet commented on GitHub (Mar 11, 2025):

Indeed, I see it works in the demo. When I click 'Search', these errors are logged:

Image

@KrisLowet commented on GitHub (Mar 11, 2025): Indeed, I see it works in the demo. When I click 'Search', these errors are logged: ![Image](https://github.com/user-attachments/assets/3cc59ae1-5ea8-4fe2-81af-6e980bd435fe)
Author
Owner

@jnovinger commented on GitHub (Mar 11, 2025):

@KrisLowet , I'm still not able to reproduce or trigger any errors in the console. Can you come up with a set of steps to reproduce for a clean NetBox (v4.2.5) instance (either completely empty or just after having installed the demo data)?

@jnovinger commented on GitHub (Mar 11, 2025): @KrisLowet , I'm still not able to reproduce or trigger any errors in the console. Can you come up with a set of steps to reproduce for a clean NetBox (v4.2.5) instance (either completely empty or [just after having installed the demo data](https://netboxlabs.com/docs/netbox/en/stable/development/getting-started/#populating-demo-data))?
Author
Owner

@KrisLowet commented on GitHub (Mar 12, 2025):

Hi

I created a new server and installed Netbox.
I took a backup of the database and restored it on the new server.

Exact the same problem occurs.

@KrisLowet commented on GitHub (Mar 12, 2025): Hi I created a new server and installed Netbox. I took a backup of the database and restored it on the new server. Exact the same problem occurs.
Author
Owner

@KrisLowet commented on GitHub (Mar 12, 2025):

When I import the demo data, it works.

@KrisLowet commented on GitHub (Mar 12, 2025): When I import the demo data, it works.
Author
Owner

@KrisLowet commented on GitHub (Mar 17, 2025):

I've found the problem. In the User preferences 'HTMX Navigation' was enabled.
When I disable that option, the selector works like expected.

@KrisLowet commented on GitHub (Mar 17, 2025): I've found the problem. In the User preferences 'HTMX Navigation' was enabled. When I disable that option, the selector works like expected.
Author
Owner

@github-actions[bot] commented on GitHub (Mar 25, 2025):

This is a reminder that additional information is needed in order to further triage this issue. If the requested details are not provided, the issue will soon be closed automatically.

@github-actions[bot] commented on GitHub (Mar 25, 2025): This is a reminder that additional information is needed in order to further triage this issue. If the requested details are not provided, the issue will soon be closed automatically.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#10874