Project

General

Profile

Actions

Bug #80298

closed

Wrong language selector in "New element"-context

Added by Tim Lochmüller over 7 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2017-03-16
Due date:
% Done:

0%

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

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

Actions #1

Updated by Riccardo De Contardi almost 7 years ago

I cannot reproduce it with TYPO3 8.7.9, can someone confirm?

Actions #2

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

Actions #3

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF