Project

General

Profile

Actions

Bug #86223

closed

Exception when using protectLvar=all in MenuProcessor

Added by Georg Tiefenbrunn almost 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
-
Target version:
Start date:
2018-09-10
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:

Description

Using the following TS lib in TYPO3 CMS 9.4 (composer) throws an Exception:

lib.test= FLUIDTEMPLATE
lib.test {
  file = EXT:...
  dataProcessing {
    10 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor
    10 {
      special = list
      special.value = 1,2,3
      levels = 1
      protectLvar = all
    }
  }
}

Exception: Call to a member function getPageOverlay() on null in AbstractMenuContentObject.php line 1376

  • Languages & Co are configured using module 'Site Configuration'
  • Same error if translated records exist or not
  • No error if pages.l18n_cfg option 'Hide page if no translation for current language exists [2]' is set

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #85543: Introduce Language Aspect for ContextsClosedBenni Mack2018-07-12

Actions
Actions

Also available in: Atom PDF