Bug #66653
closed
shortcut_mode value is not correctly selected when adding translation of a page
Added by Lorenz Ulrich over 9 years ago.
Updated over 4 years ago.
Category:
Backend User Interface
Description
When a page of type "Shortcut" is translated, the value for the field shortcut_mode
is not correctly selected:
This is distracting for editors because they assume that by default a translated page has the same properties as the page in the default language.
Files
It is still present in both 6.2.15 and 7.5-dev (latest master)
Step to reproduce:
1) create a new page > type: shortcut
1.1) set the target to an existing page
1.2) set shortcut mode: "random subpage of selected/current page"
2) click on page > select "languages" on top dropdown > select the language on dropdown "Make new translation of this page:"
RESULT: shortcut mode is "Selected page" (the first one of the dropdown)
This issue is still present on 8.7.12 but it seems solved on 9.2-dev (latest master) where on both fields Shortcut Mode and Shortcut Target you can choose the "translation behavior" via the radio button Custom value / Value of default language
typo3/cms/typo3/sysext/core/Classes/DataHandling/DataHandler.php (8.7.17)
Line 4865
Here is just a simple check for "text" and "input", but for select (and other types) it doesn't exist an else case. If we add e.g. this check it works:
if ($fCfg['config']['type'] === 'select') {
$overrideValues[$fN] = $row[$fN];
}
=> Version 9 is not affected because pages_language_overlay no longer exists.
- Status changed from New to Under Review
- Status changed from Under Review to New
- Status changed from New to Closed
This issue is resolved for version 9.5 and higher;
We feel sorry but this issue will not be fixed on version 8.7.x as it is in its "priority bugfix" phase of life, and only security and critical bugfixes will be developed.
If you experience the issue again on newer TYPO3 versions, please reopen it or open a new issue with a reference to this one.
Thank you and best regards
Also available in: Atom
PDF