Project

General

Profile

Actions

Bug #82810

closed

MenuProcessor doesn't accept sub keys of levels, expandAll, includeSpacer and titleField

Added by Thorben Nissen about 7 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
Start date:
2017-10-19
Due date:
% Done:

100%

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

Description

In the processing, the named properties are evaluated using ContentObjectRenderer::stdWrapValue, but adding sub properties causes exception in MenuProcessor::validateConfiguration.

To allow the full stdWrap capabilities, e.g. using fields from the content element, the sub properties must be allowed.

Example:

dataProcessing {
    10 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor
    10 {
        levels {
            field = someLevelFieldFromTheRecord
            ifEmpty = 1
        }
    }
}
Actions #1

Updated by Gerrit Code Review about 7 years ago

  • Status changed from New 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/54444

Actions #2

Updated by Thorben Nissen about 7 years ago

  • Description updated (diff)
Actions #3

Updated by Gerrit Code Review about 7 years ago

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

Actions #4

Updated by Thorben Nissen about 7 years ago

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

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF