QuoteNow it works randomly every few Dashboard reloads (F5), but in most cases widget is empty.hm. can not reproduce. any errors in browser console?
Now it works randomly every few Dashboard reloads (F5), but in most cases widget is empty.
Uncaught TypeError: data is undefined <anonymous> https://192.168.10.1/index.php:2898 complete https://192.168.10.1/ui/js/opnsense.js?v=a8833cf67460c892:242 jQuery 6 ajaxGet https://192.168.10.1/ui/js/opnsense.js?v=a8833cf67460c892:234 <anonymous> https://192.168.10.1/index.php:2895 jQuery 8 <anonymous> https://192.168.10.1/index.php:1426index.php:2898:17
Uncaught TypeError: data is undefined
QuoteUncaught TypeError: data is undefinedthis error can occur immediately after the page refresh (executed API requests are aborted and the firefox has time to throw an error. especially if you refresh the page again before it is fully loaded).but all should work fine after this errors.looks like an unpatched version for meplease can you swith to Inspector tab in the console and search for "widget.find" in "Search HTML" string? there should be 1 result
There's no "widget.find"
QuoteThere's no "widget.find"if there's no "widget.find" in HTML then 4053952 not applied
root@OPNsense:/home/qba # opnsense-patch 4053952Found local copy of 4053952, skipping fetch.Hmm... Looks like a unified diff to me...The text leading up to this was:--------------------------|From 405395264ffb4f77e298a3bfa5d670b9a53eeda6 Mon Sep 17 00:00:00 2001|From: kulikov-a <36099472+kulikov-a@users.noreply.github.com>|Date: Mon, 8 Mar 2021 21:45:00 +0300|Subject: [PATCH] index.php: strip scripts from widgets before move (#4752)||---| src/www/index.php | 3 +++| 1 file changed, 3 insertions(+)||diff --git a/src/www/index.php b/src/www/index.php|index 6663799e70..dd6abb0241 100644|--- a/src/www/index.php|+++ b/src/www/index.php--------------------------Patching file www/index.php using Plan A...Reversed (or previously applied) patch detected! Assuming -R.Hunk #1 succeeded at 263.doneAll patches have been applied successfully. Have a nice day.
Reversed (or previously applied) patch detected!
QuoteReversed (or previously applied) patch detected!yes, looks like it was applied. but then definitely there should have been a "widget.find" when searching in html.I'm trying very hard to reproduce this behavior on the patched version and nothing works for me.so it looks like on this ticket? https://github.com/opnsense/core/issues/4750
ah. i see. autocomplete will not show this. you need to type it and press enter )can you apply this patch again please?and i will try to reproduce the bug again