Project

General

Profile

Actions

Bug #86223

closed

Exception when using protectLvar=all in MenuProcessor

Added by Georg Tiefenbrunn about 6 years ago. Updated about 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 #1

Updated by Georg Tiefenbrunn about 6 years ago

Same error with protectLvar = 1.

Actions #2

Updated by Georg Ringer about 6 years ago

  • Status changed from New to Accepted
  • Assignee set to Georg Ringer
  • Priority changed from Should have to Must have
  • Target version set to 9 LTS
  • Is Regression set to Yes
Actions #3

Updated by Georg Ringer about 6 years ago

  • Related to Task #85543: Introduce Language Aspect for Contexts added
Actions #4

Updated by Gerrit Code Review about 6 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58252

Actions #5

Updated by Georg Ringer about 6 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #6

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF