Bug #76649
closedexplicitConfirmationOfTranslation buttons in EditDocumentController do not work
100%
Description
Setting the setting:
$GLOBALS['TYPO3_CONF_VARS']['BE']['explicitConfirmationOfTranslation'] = true;
results in the corresponding buttons being added but there are two issues:
1.) SplitButtons.js does not handle buttons / links that start with "_translation_save" in css selectors.
Should add:
'button[name^="_translation_save"]', 'a[data-name^="_translation_save"]', 'button[name="CMD"][value^="_translation_save"]', 'a[data-name="CMD"][data-value^="_translation_save"]'
2.) In \TYPO3\CMS\Backend\Controller\EditDocumentController :
The buttons are created with using:
_translation_savedok
_translation_savedokclear
However, various checks to $_POST check for:
_translation_savedok_x
_translation_savedokclear_x
Updated by Gerrit Code Review over 7 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52730
Updated by Tymoteusz Motylewski over 7 years ago
In which versions does this issue occures? v7? v8? master?
In this ticket version is set to 7, but the review is targeted for v8 and master only.
Updated by Gerrit Code Review over 7 years ago
Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/53088
Updated by Markus Sommer over 7 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 654d39ccbd6398ed39138ed2568050f6236061cf.