Menu Application layout problem for unauthenticated guest

Authenticated user can see the Menu as expected

but rendering for unauthenticated user is broken (seems like some CSS not loading)

Showed content and Menu Application are in different sub-wikis. Both have publicly available content. Menu is set with global visibility scope. The layout is broken in another sub-wiki even with different Color theme.

Hi Peter,

The Menu’s styling is loaded by a separate request to the skin extension on the Menu.MenuMacro page of the wiki where the Menu application is installed (e.g. /xwiki/wiki/<menuWiki>/ssx/Menu/MenuMacro?...). Guests need view right on that page; otherwise that request fails and the menu is displayed unstyled, even though its items (which come from a different page) are visible.

Could you open your browser’s dev tools (Network tab) as a guest and check the status of the ssx/Menu/MenuMacro and jsx/Menu/MenuMacro requests? If they fail with 401/403 or redirect to login, check the view rights of unregistered users on the Menu space / Menu.MenuMacro page (and the wiki-level rights) of that sub-wiki. Note that granting view to a specific group implicitly denies it to guests.

If the requests return 200 with CSS content, then it’s something else and it would help to see the response and any errors in the server logs.

Thanks

ssx/Menu and jsx/Menu are not loading at all from the sub-wiki without Menu Application installed

it is missing in the stylesheet list in html/head of requested homepage

<script src='/wiki/wiki/std4isvs/jsx/NumberedFigures/Code/NumberedFigures?language=sk_SK&#38;docVersion=1.1' defer='defer'></script>
<script src='/wiki/wiki/std4isvs/jsx/XWiki/QuickSearchUIX?language=sk_SK&#38;docVersion=2.1' defer='defer'></script>
<script src='/wiki/wiki/std4isvs/jsx/XWiki/Lightbox/WebHome?language=sk_SK&#38;docVersion=1.1' defer='defer'></script>
<script src='/wiki/wiki/std4isvs/jsx/XWiki/PDFExport/WebHome?language=sk_SK&#38;docVersion=2.1' defer='defer'></script>
<script src='/wiki/wiki/std4isvs/jsx/XWiki/Like/LikeUIX?language=sk_SK&#38;docVersion=2.1' defer='defer'></script>

I do see the reference in html/head under sub-wiki which has Menu Application installed

<link rel="stylesheet" type="text/css" href="/wiki/wiki/metapublic/ssx/NumberedCommon/Code/NumberedCommon?language=sk&#38;docVersion=1.1&#38;hash=ef4b9a3de9561f7955512f0719b7dd85" />
<link rel="stylesheet" type="text/css" href="/wiki/wiki/metapublic/ssx/XWiki/Realtime/Configuration?language=sk&#38;docVersion=3.1" />
<link rel="stylesheet" type="text/css" href="/wiki/wiki/metapublic/ssx/Menu/MenuMacro?language=sk&#38;docVersion=1.1&#38;colorTheme=metapublic%3AFlamingoThemes.Iceberg" />
<link rel="stylesheet" type="text/css" href="/wiki/wiki/metapublic/ssx/XWiki/PDFExport/WebHome?language=sk&#38;docVersion=4.1" />
<link rel="stylesheet" type="text/css" href="/wiki/wiki/metapublic/ssx/XWiki/Like/LikeUIX?language=sk&#38;docVersion=2.1&#38;theme=FlamingoThemes.Iceberg" />

and are loaded just fine

It is loading in the problematic sub-wiki after login, but under different resource path wiki/bin/[jsx,ssx]/Menu and from the sub-wiki of Menu Application under wiki/{sub-wiki}/jsx/Menu.