#102059Translate Button in PageLayoutView for deleted Translations in Workspace
Description
Having:
- 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
clipboard-202309281228-b82ud.png
Screenshot 2023-09-28 at 12.29.29
clipboard-202309281229-9yytl.png
Screenshot 2023-09-28 at 12.30.00
clipboard-202309281230-ilxar.png
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
Reviews 6
- 13.4 88134[BUGFIX] Avoid "Deleted workspace elements are not shown" too often
- main 88132[BUGFIX] Avoid "Deleted workspace elements are not shown" too often
- 13.4 87941[BUGFIX] Show workspace warning in page module as popover
- main 87938[BUGFIX] Show workspace warning in page module as popover
- 13.4 87916[BUGFIX] Skip deleted translations in workspace
- main 81294[BUGFIX] Skip deleted translations in workspace