Gateway widget display is not updating.

Started by TheGrandWazoo, September 23, 2018, 08:42:18 PM

Previous topic - Next topic
When using Microsoft edge (Not my default browser) it shows the "Name" and the "Status" of Unknown and not RTT, RTTd and Loss. Under System->Gateways->Single the system displays results as expected.
When running under Firefox there are No Issues. Displaying as expected.

Under the "Console" of edge the following errors are logged every few seconds.
[object Error]: {description: "'find' is not defined", message: "'find' is not defined", number: -2146823279, stack: "ReferenceError: 'find' is not defined at Anonymous function (Unknown script code:6:11) at Array.prototype.map (native code) at gateways_widget_update (Unknown script code:4:7) at Anonymous function (https://192.168.0.2/index.php:1122:25) at Array.prototype.map (native code) at Anonymous function (https://192.168.0.2/index.php:1119:13) at i (https://192.168.0.2/ui/js/jquery-3.2.1.min.js:2:28012) at j.fireWith (https://192.168.0.2/ui/js/jquery-3.2.1.min.js:2:28725) at A (https://192.168.0.2/ui/js/jquery-3.2.1.min.js:4:13607) at Anonymous function (https://192.168.0.2/ui/js/jquery-3.2.1.min.js:4:16162)"}

Sounds like an issue with jQuery and Edge. Would probably require seeing if a newer jQuery version performs better.


Cheers,
Franco


September 24, 2018, 12:53:54 PM #3 Last Edit: September 24, 2018, 01:09:41 PM by TheGrandWazoo
Sorry that I did not post the version. It is OPNsense 18.7.3-amd64 with Dpinger 3.0 and/or apinger 0.7.

Also, one other thing. Even though Firefox works for the Gateway widget, the browser became very slow and sometimes unresponsive after this upgrade. I will see if taking out the Gateway widget makes this behavior disappear.

Thanks,

Kev