Bug #93744
openCopying pages with translations to sites without translations should not copy translations
0%
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
Updated by Riccardo De Contardi 2 months ago
- File Cattura1.png Cattura1.png added
- File Cattura2.png Cattura2.png added
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:
Updated by André Buchmann 2 months 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
Updated by André Buchmann 2 months ago
- Has duplicate Bug #103828: Copy-Paste: Prevent orphaned added
Updated by André Buchmann 2 months ago
- Has duplicate deleted (Bug #103828: Copy-Paste: Prevent orphaned )
Updated by André Buchmann 2 months ago
- Related to Bug #103828: Copy-Paste: Prevent orphaned added
Updated by Lukas Fürderer 2 months ago
- Related to Bug #104010: Copy & Paste creates invisible translations added