Actions
Bug #86571
closedLanguage Menu not setting language uid correctly when special.value=auto
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
TypoScript
Target version:
-
Start date:
2018-10-04
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Instead of setting languageUid = 0 or 1 etc. the first entry gets the value "auto" and the others are just empty.
Files
Updated by Nikita Hovratov about 6 years ago
- Subject changed from Language Menu not setting language uid correctly when special.language=auto to Language Menu not setting language uid correctly when special.value=auto
Updated by Nikita Hovratov about 6 years ago
Typoscript Setup:
30 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor 30 { special = language special.value = auto as = langmenu dataProcessing { 10 = TYPO3\CMS\Frontend\DataProcessing\FilesProcessor 10 { references.fieldName = media } } }
Updated by Nikita Hovratov about 6 years ago
The "auto" config is not taken care of in TYPO3\CMS\Frontend\DataProcessing\Menuprocessor->prepareLevelLanguageConfiguration().
There should be a condition checking the conf and passing the enabled language uids instead.
Updated by Gerrit Code Review about 6 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/58576
Updated by Gerrit Code Review about 6 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58576
Updated by Nikita Hovratov about 6 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 461841fc3224f6a7333392b9933220dd8cc5d96b.
Actions