Bug #88711

Clipboard (multi-selection mode) + Plugin Insert Records

Added by Jan Haffner over 1 year ago. Updated 7 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2019-07-09
Due date:
% Done:

100%

TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

If I use the clipboard (multi-selection mode) to copy multiple elements in the List module and then create an Insert records plugin, I can only paste the first element there. Under TYPO3 v7 all elements were pasted. Is this a bug or does it need to be activated?

88711_clipboard.patch View (1.91 KB) Ivan Dharma Kartolo, 2019-10-14 15:08


Related issues

Related to TYPO3 Core - Epic #90676: Clipboard related bugs and features Accepted 2020-03-07
Related to TYPO3 Core - Bug #92292: Set reference to an element - paste records New 2020-09-11

Associated revisions

Revision c29ae5f4 (diff)
Added by Ivan Dharma Kartolo 7 months ago

[BUGFIX] Paste all items from clipboard into group field

If the clipboard contains at least one item, a paste button is rendered
next to fields of type `group`. With this patch, all items of the
clipboard are now pasted into the field.

Resolves: #88711
Releases: master, 9.5
Change-Id: Ib8d5d9ab148e8794f54d2665d95721c10f8b7255
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63834
Tested-by: Susanne Moog <>
Tested-by: TYPO3com <>
Tested-by: Daniel Haupt <>
Tested-by: Andreas Fernandez <>
Reviewed-by: Susanne Moog <>
Reviewed-by: Daniel Haupt <>
Reviewed-by: Andreas Fernandez <>

Revision d7e775a4 (diff)
Added by Andreas Fernandez 7 months ago

[BUGFIX] Paste all items from clipboard into group field

If the clipboard contains at least one item, a paste button is rendered
next to fields of type `group`. With this patch, all items of the
clipboard are now pasted into the field.

Resolves: #88711
Releases: master, 9.5
Change-Id: Ib8d5d9ab148e8794f54d2665d95721c10f8b7255
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63845
Tested-by: TYPO3com <>
Tested-by: Andreas Fernandez <>
Reviewed-by: Andreas Fernandez <>

History

#1 Updated by Riccardo De Contardi about 1 year ago

  • Category set to Backend User Interface

#2 Updated by Ivan Dharma Kartolo about 1 year ago

Hi,

just created a patch for 8.7.27. Problem is the group TCA field only get the first array key using key() and ignores the rest of the array. So if user puts more than one record of a table (e.g. tt_content) in the clipboard, only the first element get pasted in the group TCA field.

#3 Updated by Christian Eßl 8 months ago

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

#4 Updated by Gerrit Code Review 7 months 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/+/63834

#5 Updated by Gerrit Code Review 7 months ago

Patch set 2 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/+/63834

#6 Updated by Gerrit Code Review 7 months ago

Patch set 3 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/+/63834

#7 Updated by Gerrit Code Review 7 months ago

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

#8 Updated by Ivan Dharma Kartolo 7 months ago

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

#9 Updated by Benni Mack 7 months ago

  • Status changed from Resolved to Closed

#10 Updated by Andreas Kiessling about 1 month ago

  • Related to Bug #92292: Set reference to an element - paste records added

Also available in: Atom PDF