Project

General

Profile

Actions

Bug #102059

open

Translate Button in PageLayoutView for deleted Translations in Workspace

Added by Achim Fritz about 1 year ago. Updated about 1 month 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 #1

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

Actions #2

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

Actions #3

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

Actions #4

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

Actions #5

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.

Actions #6

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)

Actions #7

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

Actions

Also available in: Atom PDF