Project

General

Profile

Actions

Bug #102059

open

Translate Button in PageLayoutView for deleted Translations in Workspace

Added by Achim Fritz 8 months ago. Updated 8 months ago.

Status:
Under Review
Priority:
Should have
Assignee:
-
Category:
Workspaces
Start date:
2023-09-28
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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

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

Actions

Also available in: Atom PDF