Bug #102059
openTranslate Button in PageLayoutView for deleted Translations in Workspace
0%
Description
- live Workspace: create Content Element in default language
- live Workspace: translate this Content Element
- switch to a draft Workspace
- draft Workspace: edit default Content Element
- draft Workspace: delete translated Content Element
The Translate Button in den PageLayout View should not be displayed, as the Record is neither found by Localize-Wizard nor in translateable when edit default Language Record
Screenshot 2023-09-28 at 12.27.58
Screenshot 2023-09-28 at 12.29.29
Screenshot 2023-09-28 at 12.30.00
Database:
MariaDB [db]> select uid,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,header from tt_content; +-----+------------------+-------------+------------+-------------+-----------------------+ | uid | sys_language_uid | l18n_parent | t3ver_wsid | t3ver_state | header | +-----+------------------+-------------+------------+-------------+-----------------------+ | 1 | 0 | 0 | 0 | 0 | t1 | | 2 | 1 | 1 | 0 | 0 | [Translate to de:] t1 | | 3 | 0 | 0 | 1 | 0 | t1 ws | | 7 | 1 | 1 | 1 | 2 | [Translate to de:] t1 | +-----+------------------+-------------+------------+-------------+-----------------------+
(Note t3ver_state=2 (Deleted Placeholder) of uid translated Content Element in Draft Workspace)
Testet with TYPO3 12 and 11
Files
Updated by Gerrit Code Review about 1 year ago
- Status changed from New to Under Review
Patch set 1 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/81294
Updated by Gerrit Code Review about 1 year ago
Patch set 2 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/81294
Updated by Gerrit Code Review about 1 year ago
Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/81294
Updated by Gerrit Code Review about 1 year ago
Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/81294
Updated by Stefan Bürk about 1 year ago
I guess we need to talk about some UX then here. If no elements are left for a language,
and no translate button shown this may confuse some editors eventually. Specially, if the
have not deleted it in the workspace itself. At least in a long term.
Updated by Achim Fritz about 1 year ago
maybe a flashMessage, with a warning would help? (editors have to go to WS-Module and undelete the deleted translation, instead of try to start a localization process)
Updated by Gerrit Code Review about 1 month ago
Patch set 5 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/81294