netbox-community / netbox

The premier source of truth powering network automation. Open source under Apache 2. Try NetBox Cloud free: https://netboxlabs.com/free-netbox-cloud/
http://netboxlabs.com/oss/netbox/
Apache License 2.0
15.77k stars 2.54k forks source link

many tabs aren't working after upgrade to 4.0.10 #17313

Open goteamkor opened 2 weeks ago

goteamkor commented 2 weeks ago

Deployment Type

Self-hosted

NetBox Version

v4.0.10

Python Version

3.12

Steps to Reproduce

Create an IP address click the "Contacts" tab.

OR

Create a device click the "Module Bays' tab

Expected Behavior

NetBox should take you to the tab you click on.

Observed Behavior

Nothing is happening. pages only load if you right click and force them to open in a new tab.

Logs report

AttributeError: 'str' object has no attribute '_meta'

goteamkor commented 2 weeks ago

Running latest version of chrome. The error I get after clicking on the 'module bays' tab.

image

Azmodeszer commented 2 weeks ago

Apparently related to HTMX navigation? I can reproduce it if it's enabled. Disabling it fixes it.

goteamkor commented 2 weeks ago

Apparently related to HTMX navigation? I can reproduce it if it's enabled. Disabling it fixes it.

confirmed. I have HTMX enabled. If I disable it without making any other changes the problem goes away.