OPNsense Forum

English Forums => 24.7, 24.10 Legacy Series => Topic started by: MGyula on August 27, 2024, 04:57:56 PM

Title: [Solved] Dashboard save problem with Chrome
Post by: MGyula on August 27, 2024, 04:57:56 PM
If I use Chrome the network traffic widget is empty (you can see and move the empty rectangle bit no graph) and clicking the save button it circles forever and gives an unhandled exception error on the console:

opnsense_widget_manager.js?v=05956ed8e4fd9d55:573 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'getWidgetConfig')
    at opnsense_widget_manager.js?v=05956ed8e4fd9d55:573:66
    at Array.map (<anonymous>)
    at WidgetManager._saveDashboard (opnsense_widget_manager.js?v=05956ed8e4fd9d55:572:41)
    at HTMLButtonElement.<anonymous> (opnsense_widget_manager.js?v=05956ed8e4fd9d55:290:24)
    at HTMLButtonElement.dispatch (jquery-3.5.1.min.js?v=05956ed8e4fd9d55:2:43090)
    at HTMLButtonElement.<anonymous> (jquery-3.5.1.min.js?v=05956ed8e4fd9d55:2:41074)


Clearing all the cache and cookies do not help.
It is strange that if I try it on an incognito page it works and the saved dashboard good on an ordinary page except the network widget.
Firefox also works.
Title: Re: Dashboard save problem with Crome
Post by: franco on August 27, 2024, 04:58:52 PM
Which version do you have installed?
Title: Re: Dashboard save problem with Crome
Post by: MGyula on August 27, 2024, 05:34:24 PM
24.7.1 but the 24.7.2 is the same
Title: Re: Dashboard save problem with Crome
Post by: chemlud on August 27, 2024, 05:40:08 PM
I saw this "saving-forever" with Palemoon yesterday after applying the patch iirc

https://forum.opnsense.org/index.php?topic=42231.msg210069#msg210069

...tried again today, now it's gone (after successful Save in FF?? dunno).
Title: Re: Dashboard save problem with Crome
Post by: doktornotor on August 27, 2024, 05:40:28 PM
Well if it works on incognito browser windows, then you probably have some helpful extension installed that's breaking it on non-incognito ones.
Title: Re: Dashboard save problem with Crome
Post by: MGyula on August 27, 2024, 06:09:46 PM
Quote from: doktornotor on August 27, 2024, 05:40:28 PM
Well if it works on incognito browser windows, then you probably have some helpful extension installed that's breaking it on non-incognito ones.

You are right! It was an old and unused plugin - uninstalled and now works.
(After a couple of try I figured out that there can be problem with the adblock origin too. After disabling and saving the dashboard the save work after reenabling the adblock.)
Thanks
Title: Re: Dashboard save problem with Crome
Post by: doktornotor on August 27, 2024, 06:38:15 PM
Quote from: MGyula on August 27, 2024, 06:09:46 PM
(After a couple of try I figured out that there can be problem with the adblock origin too. After disabling and saving the dashboard the save work after reenabling the adblock.)

Yeah, I always disable adblockers for these management URLs.