Issue Bug Closed

#91185HMENU does not link to showAccessRestrictedPages for non-default language

Jonas Eberle 04/24/20, 13:36 updated 05/12/20, 13:08

Description

Minimum test case:

  • have 2 languages (fallbackType: ‘strict’ – for me the output is the same for ‘fallback’, though)
  • add a page and translate it
  • put an access restriction on the page (e.g. “Show at any login [-2]”)

This

page {
  1 = HMENU
  1 {
    1 = TMENU
    1 {
      showAccessRestrictedPages = 1
      showAccessRestrictedPages.addParams = &return_url=###RETURN_URL###&pageId=###PAGE_ID###
      NO = 1
      NO.allWrap = <li>|</li>
      wrap = <ul>|</ul>
    }
    2 < .1
    3 < .1
  }
}

would render the expected &return_url for the default language, but a direct link to the access restricted page for other languages.

Affects: MenuProcessor
Tested with 9.5.16-dev
Not reproducible in TYPO3v10

Reviews 3