Firewall:Aliases can't add new one

Started by chienchou.pan, February 02, 2021, 02:40:13 AM

Previous topic - Next topic
When I upgrade opensense to 21.1 , The Aliases has a problem. old rules still display, but I can't edit it and can't add new rule.(click + , no respond)

https://forum.opnsense.org/index.php?topic=21232.0
https://forum.opnsense.org/index.php?topic=21199.0

Took me 10 seconds to find.

What you could do is add browser name and version, maybe error from developer console as well.


Cheers,
Franco

The erroe message is like below

ncaught TypeError: string.replaceAll is not a function  tokenize2.js?v=d518ea4e6f99547a:1033
    at Tokenize2.escape (tokenize2.js?v=d518ea4e6f99547a:1033)
    at Tokenize2.dropdownAddItem (tokenize2.js?v=d518ea4e6f99547a:847)
    at Tokenize2.<anonymous> (tokenize2.js?v=d518ea4e6f99547a:121)
    at HTMLSelectElement.i (jquery-3.5.1.min.js:2)
    at HTMLSelectElement.dispatch (jquery-3.5.1.min.js:2)
    at HTMLSelectElement.v.handle (jquery-3.5.1.min.js:2)
    at Object.trigger (jquery-3.5.1.min.js:2)
    at HTMLSelectElement.<anonymous> (jquery-3.5.1.min.js:2)
    at Function.each (jquery-3.5.1.min.js:2)
    at S.fn.init.each (jquery-3.5.1.min.js:2)

my brower is chrome 84.0.4147.125

I also have this strange problem.
However, I noticed that when I click on "Add Alias", the window does not appear in the middle but in the top left corner above the "OPNsense Logo".
I think the error is in the correct positioning of the edit window.
See attachment

Quote from: chienchou.pan on February 02, 2021, 10:22:25 AM
my brower is chrome 84.0.4147.125

Well, Chrome 85 will support it. Chrome 85 was released 5 months ago.

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/replaceAll#browser_compatibility

Quote from: Headologic on February 02, 2021, 05:54:26 PM
I also have this strange problem.

I don't see a browser version here too and looking at https://forum.opnsense.org/index.php?topic=21199.msg99471#msg99471 nobody confirms the patches we work on to help people with older browsers so I am not very enthusiastic about responding again to this thread.


Cheers,
Franco

Thanks. I can use opnsense WEB GUI normally, I change to chrome 89.0.4385.0, and all funtions look like fine.