openwisp-controller icon indicating copy to clipboard operation
openwisp-controller copied to clipboard

[bug] History pages have their JS broken because owControllerApiHost is undefined

Open nemesifier opened this issue 2 years ago • 0 comments

How to replicate in devices:

  • create a device (or have an existing one created), make sure it has a config
  • make changes to the config once it's saved
  • click on history and go to the previous revision (open its details)
  • open the console, you should see a JS error now, the "edit" icon is also not loaded properly

How to replicate in templates:

  • create a device (or have an existing one created), make sure it has a config
  • make changes to the config once it's saved
  • click on history and go to the previous revision (open its details)
  • go to advanced mode, you should see that the icon for the button to go back to normal mode doesn't load

Something identical happens in VPN Server too.

nemesifier avatar Jul 19 '22 18:07 nemesifier