Project

General

Profile

Actions

Bug #72797

closed

EditDocumentController / languageSwitch / localized records without a default language record relation

Added by Wolfgang Klinger over 8 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Localization
Start date:
2016-01-18
Due date:
% Done:

100%

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

Description

The 'Language' menu on top of the edit document view makes no sense and results in strange behaviour if you edit a record that has no default language (0) record relation.
The languageSwitch method of class EditDocumentController relies on an existing default language (0) record.
Generated links look like:

<option value="tce_db.php?&amp;cmd[tt_content][][localize]=8&amp;redirect=alt_doc.php…">Italian [NEW]</option>

('localize' with an empty id key)
and in the end redirects to an edit view of a randomly selected record(?)

I would suggest to remove the menu if the open record has no default language record relation.


Files

Schermata 2016-05-14 alle 16.13.15.png (53.2 KB) Schermata 2016-05-14 alle 16.13.15.png Riccardo De Contardi, 2016-05-14 16:17

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #78955: “language” menu on top of the content element is missing the possibility to create [NEW] translations out of every language selectionClosed2016-12-12

Actions
Actions

Also available in: Atom PDF