Bug #86687
openTranslated record duplicated when copied (multi-selection mode)
0%
Description
When I use the multi-selection mode of the clipboard with a record (sys_language_uid = 0) and its translation selected, then translated records will show up multiple times in the clipboard. This problem does not occur, when the single record mode or the copy button next to the record in the list is used.
When inserting the copied records into a new sysfolder (multi-selection mode), duplicates of the translations will be created.
Problem seems to be in \TYPO3\CMS\Backend\Clipboard\Clipboard->getContentFromTab(), where for every record an entry in the clipboard is made. First the root-item will be added. This will also add the translated record to the clipboard via $this->getLocalizations($table, $rec). After that, the translated record from the multi-selection mode is added again, leading to duplicates.
Files
Updated by Philipp Seiler about 6 years ago
- Priority changed from Should have to Must have
Updated by Christian Eßl over 4 years ago
- Related to Epic #90676: Clipboard related bugs and features added
Updated by Riccardo De Contardi 5 months ago
- File Cattura1.png Cattura1.png added
- File Cattura2.png Cattura2.png added
- File Cattura3.png Cattura3.png added
- File Cattura4.png Cattura4.png added
- File Cattura5.png Cattura5.png added
Is this issue still valid?
I tried the following test on TYPO3 12.4.16 with EXT:news 11.4.2:
Prerequisites¶
1) TYPO3 installation with two languages: Italian (default, uid=0) and English (Uid=1)
2) A "News" Sysfolder translated in English
3) A News Item, translated in english
4) A "News2" Folder, translated in English
as per the following screnshot:
Test procedure¶
1) List view > Go to "News" folder; enable the clipboard and select "Clipboard #1 (multi-selection mode)" - see Cattura1.png
2) Select the news item, click "Transfert to clipboard":
3) Now the news item is in the clipboard and no duplication is present :
4) Go to "News2" sysfolder > List view > Click on "Paste in clipboard content" and press "OK" on the modal
"Move all elements (1) from the clipboard into "news2"?"
Result¶
The news item and its translation are copied in "News2" folder, and no duplication is present:
Is this test sufficient? Am I missing something or a different test is necessary?
Updated by Riccardo De Contardi 5 months ago
- Status changed from New to Needs Feedback