Project

General

Profile

Actions

Bug #91185

closed

HMENU does not link to showAccessRestrictedPages for non-default language

Added by Jonas Eberle about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Localization
Target version:
-
Start date:
2020-04-24
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
language overlay pages
Complexity:
Is Regression:
Sprint Focus:

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


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #88987: Menu Generation Fails on Translated WebsitesClosed2019-08-20

Actions
Actions

Also available in: Atom PDF