Dropdown menu issue in Netbox 3.0.2.

125 views
Skip to first unread message

Philip Richards

unread,
Sep 22, 2021, 12:26:12 PM9/22/21
to NetBox
Hello,

Very new to Netbox - first heard of it a week ago!

I've completed an installation and can access the web interface ok. However when adding or editing entries none of the drop down menus are displaying custom entered data. Default / preconfigured entries are fine and can be selected.

I've seen mention of others having a similar problem but all of the threads / comments annoyingly seem to stop short of a definite solution.

When adding or editing an entry I get the following error in the debug console of the browser :-

TypeError: v.replaceAll is not a function
    at Al.<anonymous> (netbox.js:9)
    at Generator.next (<anonymous>)
    at netbox.js:1
    at new Promise (<anonymous>)
    at Ne (netbox.js:1)
    at Al.processOptions (netbox.js:9)
    at Al.<anonymous> (netbox.js:9)
    at Generator.next (<anonymous>)
    at s (netbox.js:1)

I'm running the following s/w versions :-
NetBox 3.0.2
Python 3.9.7
RedHat EL8

I'm getting the same issue in both of the following browsers (both a little old but that's what I'm stuck with) :-
FireFox 71.0
Chrome 77

As far as I can tell everything was ok with the installation (after a fair few problems I will admit).

Is this likely to be a problem with the browser(s) or is it server based?

Any advice or pointers gratefully received.

Many thanks
Phil

Brian Candler

unread,
Sep 22, 2021, 1:52:28 PM9/22/21
to NetBox
It's likely to be a browser problem.  Please test with a modern browser to confirm.

This matrix for the replaceAll() function browser compatibility only goes back as far as Firefox 77 and Chrome 85.

Philip Richards

unread,
Sep 23, 2021, 4:23:58 AM9/23/21
to NetBox
Brian,

Thanks for that. That's what I was fearing. I'll look into sorting a newer browser on the server I'm using.

Many thanks
Phil

Brian Candler

unread,
Sep 23, 2021, 4:46:34 AM9/23/21
to NetBox
I guess if this became an issue for a large enough set of Netbox users, then the code could include polyfills.  Providing support for legacy browsers sounds like it could be a maintenance nightmare.

Having said that: Firefox 71 is from Oct 2019, so it's not the most prehistoric browser out there.

Philip Richards

unread,
Oct 7, 2021, 12:04:58 PM10/7/21
to NetBox
Thanks Brian - I've found a different jumpbox with a newer browser on it and the menus work fine.

Phil

Reply all
Reply to author
Forward
0 new messages