Fixed Links in public navigation dropdown not displayed

Finexes

Well-known member
Affected version
2.0.12
Hello,

after upgrading from XF 2.0.11 to XF 2.0.12, all our dropdown links in the public navigation are not displayed, when they have type "Node". Caches have been cleared, problem also appears in default style and with disabled addons.
There are no errors shown in the browser console.
You can check it here: https://finexes.com

Did I just miss a new setting or is this a bug?
 
There is a somewhat related bug fix, though I can't reproduce it locally and the changes should be backwards compatible.

The first thing to check would be with a default style and with add-ons disabled, in case it's add-on related. If that doesn't solve it, try editing one of the navigation node entries. Does that change anything?

If that still doesn't resolve anything, can you screenshot your node navigation entry configuration?
 
Browser console shows this js error:

Uncaught TypeError: Cannot read property 'contains' of undefined
at loader.js?_v=7832d07b:17
at NodeList.some (<anonymous>)
at loader.js?_v=7832d07b:16
at Array.forEach (<anonymous>)
at MutationObserver.<anonymous> (loader.js?_v=7832d07b:13)
(anonymous) @ loader.js?_v=7832d07b:17
(anonymous) @ loader.js?_v=7832d07b:16
(anonymous) @ loader.js?_v=7832d07b:13
 
Browser console shows this js error:

Uncaught TypeError: Cannot read property 'contains' of undefined
at loader.js?_v=7832d07b:17
at NodeList.some (<anonymous>)
at loader.js?_v=7832d07b:16
at Array.forEach (<anonymous>)
at MutationObserver.<anonymous> (loader.js?_v=7832d07b:13)
(anonymous) @ loader.js?_v=7832d07b:17
(anonymous) @ loader.js?_v=7832d07b:16
(anonymous) @ loader.js?_v=7832d07b:13
That's from an addon, error was already displayed before when we didn't have a problem with the navigation. :)

Had the same issue. Disabling them, & then enabling them in the Public navigation admin page fixed the issue.
Wow, you're right, that really fixed it, thanks! :D

@Mike Disabling and re-enabling every link fixed the issue for me, any idea what caused the problem?

Thanks for all your answers, guys :)
 
Thank you for reporting this issue. It has now been resolved and we are aiming to include it in a future XF release (2.0.13).

Change log:
Fix a regression that caused navigation node entries from pre-2.0.12 to not be displayed unless they were edited after upgrading
Any changes made as a result of this issue being resolved may not be rolled out here until later.
 
Top Bottom