Project

General

Profile

Actions

Bug #93744

open

Copying pages with translations to sites without translations should not copy translations

Added by Robert Vock over 3 years ago. Updated about 1 month ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Localization
Target version:
-
Start date:
2021-03-15
Due date:
% Done:

0%

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

Description

When a page is copied, all translations of that page are always copied.

If a page is copied from Site A with Languages en and de to a Site B with only language en, the german translation get's copied as well.
The copied version is not visible anywhere. It's not visible in the list-module, because the list module of Site B only lists records with language en. Before TYPO3 v9 even records with languages which were not available for a page tree where shown in the list module.

Now those records are only visible in PhpMyAdmin.

This leads to a lot of data garbage. I've got a TYPO3 installation where one site has ~50 languages and another site only has 6 languages. If my editors copy a page of site A, this results in 44 garbage page records. The editors don't even see those pages and cannot delete them after copying.


Files

Cattura1.png (69.6 KB) Cattura1.png Riccardo De Contardi, 2024-06-08 22:29
Cattura2.png (66.8 KB) Cattura2.png Riccardo De Contardi, 2024-06-08 22:32

Related issues 3 (1 open2 closed)

Related to TYPO3 Core - Bug #102345: Copy/Move pages with existing translation into another site with different language setup results in orphaned problematic page translation recordsUnder Review2023-11-07

Actions
Related to TYPO3 Core - Bug #103828: Copy-Paste: Prevent orphaned Closed2024-05-13

Actions
Related to TYPO3 Core - Bug #104010: Copy & Paste creates invisible translationsClosed2024-06-10

Actions
Actions #1

Updated by Riccardo De Contardi almost 3 years ago

  • Category set to Localization

Updated by Riccardo De Contardi about 1 month ago

I report here the results of a test performed on TYPO3 13.2.0-dev (latest main)

Prerequisites

TYPO3 installation with TWO sites configuration

- Home (ID=1), which has three languages configured: Italian (default, ID=0), English (ID=1), French (ID=2)
- Site Two (ID=348) which has only italian as configured language

The test

1. under Home, create a new page Page-93744 (ID=993 in my case) and translate it into english (page Page-93744-en, ID=994) and french (page Page-93744-fr, ID=995)
Clicking on the home page > list view, this is the result:

2. with the context menu of pageTree, copy the page
3. Click on the second home page "Site Two" and select "Paste Into"

Results

1. All the pages, including the translations are copied, so you'll have three more pages under "Site Two" with ID=996,997,998
2. on List View, the "spurious" translations are NOT visible if you click on the page itself, but the're visible if you use the list view of their parent page:

Actions #3

Updated by André Buchmann about 1 month ago

  • Related to Bug #102345: Copy/Move pages with existing translation into another site with different language setup results in orphaned problematic page translation records added
Actions #4

Updated by André Buchmann about 1 month ago

  • Has duplicate Bug #103828: Copy-Paste: Prevent orphaned added
Actions #5

Updated by André Buchmann about 1 month ago

  • Has duplicate deleted (Bug #103828: Copy-Paste: Prevent orphaned )
Actions #6

Updated by André Buchmann about 1 month ago

  • Related to Bug #103828: Copy-Paste: Prevent orphaned added
Actions #7

Updated by Lukas Fürderer about 1 month ago

  • Related to Bug #104010: Copy & Paste creates invisible translations added
Actions

Also available in: Atom PDF