Bug #86571
closed
Language Menu not setting language uid correctly when special.value=auto
Added by Nikita Hovratov about 6 years ago.
Updated over 5 years ago.
Description
Instead of setting languageUid = 0 or 1 etc. the first entry gets the value "auto" and the others are just empty.
Files
- 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
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
}
}
}
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.
- Status changed from New to Under Review
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF