Project

General

Profile

Actions

Bug #87118

closed

Cannot copy content element, if multi-selection mode is selected in clipboard

Added by Philipp Seiler over 5 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2018-12-10
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
copy,paste,clipboard,multi,selection
Complexity:
Is Regression:
Sprint Focus:

Description

  • Create a new content element, e.g. a textmedia element.
  • Go to the list module of the page, on which the content element was just created.
  • Select mulit-selection mode for clipboard (if it has not already been selected).
  • Go back to the page module.
  • Copy the content element by clicking its top-left icon and selecting "Copy" from the context menu.
  • Insert the copied element below/above the original element with the now visible "Paste after this record"-Buttons.

Site will reload, no error, but no copy has been created!

Also no record has been added to the tt_content table.

The array $this->clipData['tab_1']['el'] in the \TYPO3\CMS\Backend\Clipboard\Clipboard class is simply empty.
When switching to single-mode, $this->clipData['normal']['el'] will hold the correct tt_content reference.


Files

cattura.png (60 KB) cattura.png Riccardo De Contardi, 2020-04-18 22:35

Related issues 1 (1 open0 closed)

Related to TYPO3 Core - Epic #90676: Clipboard related bugs and featuresAccepted2020-03-07

Actions
Actions #1

Updated by Philipp Seiler over 5 years ago

  • Description updated (diff)
Actions #2

Updated by Christian Eßl about 4 years ago

  • Related to Epic #90676: Clipboard related bugs and features added
Actions #3

Updated by Riccardo De Contardi about 4 years ago

The issue is still present on 10.4.0-dev, but it seems like an incorrect usage of the clipboard itself:

Correct me if I am wrong but the multi-selection clipboard requires to explicit select and add the records using the icons as on the following attached image

I think that one way to resolve this issue is that when you switch back to Page view, you switch back to the Normal (single record mode) (i.e. this one should be the only mode available on Page module). Are there unwanted side effects?

Actions #4

Updated by Paul Hansen almost 4 years ago

I trip over this bug frequently, because I generally edit in Page but also switch to List for batch work. It would be a sensible solution, as Riccard suggests, to switch back to the Normal clipboard when in Page module.

Actions #5

Updated by Richard Haeser over 3 years ago

I can confirm. This is also still the case in current master (v11.1.0-dev)

Actions #6

Updated by Gerrit Code Review over 2 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/70963

Actions #7

Updated by Gerrit Code Review over 2 years ago

Patch set 1 for branch 10.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/+/70964

Actions #8

Updated by Oliver Bartsch over 2 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #9

Updated by Benni Mack over 2 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF