Bug #80298
closedWrong language selector in "New element"-context
0%
Description
Hey folks,
I got a wrong language selector in the "new element"-context, if there is a special constellation:
- Create an new folder
- Create a translatable record (e.g. news)
- Change the language of the record to a non-default language (l10n_parent should be empty)
- Create a new record of the same type: Now you get a language selector with the language you select in the first record.
Problem is part of TYPO3\CMS\Backend\Controller\EditDocumentController->languageSwitch.
The $rowCurrent is selected but never checked. There is a missing "$rowCurrent === null" check to avoid the language menu, if the record is a new one?!?
Problem occurs only in TYPO3 7.x
Regards,
Tim
Updated by Riccardo De Contardi almost 7 years ago
I cannot reproduce it with TYPO3 8.7.9, can someone confirm?
Updated by Georg Ringer about 6 years ago
- Status changed from New to Resolved
can't reproduce either on 9, so I am closing this issue