[Solved] Dashboard save problem with Chrome

Started by MGyula, August 27, 2024, 04:57:56 PM

Previous topic - Next topic
August 27, 2024, 04:57:56 PM Last Edit: August 27, 2024, 06:19:39 PM by MGyula
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.



August 27, 2024, 05:40:08 PM #3 Last Edit: August 27, 2024, 05:42:00 PM by chemlud
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).
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

felix eichhorns premium katzenfutter mit der extraportion energie

A router is not a switch - A router is not a switch - A router is not a switch - A rou....

Well if it works on incognito browser windows, then you probably have some helpful extension installed that's breaking it on non-incognito ones.

August 27, 2024, 06:09:46 PM #5 Last Edit: August 27, 2024, 06:25:47 PM by MGyula
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

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.