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
16.11k stars 2.58k forks source link

Script results require page refresh to view (HTMX navigation) #16728

Open Mailstorm-ctrl opened 4 months ago

Mailstorm-ctrl commented 4 months ago

Deployment Type

Self-hosted

NetBox Version

v4.0.6

Python Version

3.12

Steps to Reproduce

  1. Enable HTMX navigation
  2. Make a script that logs something
  3. Run the script

Expected Behavior

The results to be shown once the script is done.

Observed Behavior

I briefly see the script page that says the script is running/pending, but once finished the page goes blank. Refreshing will show the results.

Having HTMX enabled on 4.0.5 did not cause this behavior, so it's unique to 4.0.6

arthanson commented 1 month ago

blocked by. #17571