#107966in list view "Paste after..." and "Paste into..." context menu items do not work
Description
Steps to reproduce the problem (latest main):
1. List view > go to a page with a content element > open the kebab menu (three dots) and click on “Copy” (or “Cut”)
2. Go to another page with another content element > open the kebab menu (three dots) and you should see “Paste after: Clipboard content is inserted after this record“
3. click on it
—-
1. List view > go to a page with a content element > open the kebab menu (three dots) and click on “Copy” (or “Cut”)
2. Go to another page with a subpage > open the kebab menu (three dots) of the subpage and you should see “Paste into: Clipboard content is inserted on this page“
3. click on it
expected result (on both cases):
a confirm modal should open
actual result (on both cases):
nothing happens
—-
As far as I can see,both links are built inside:
typo3/sysext/backend/Classes/RecordList/DatabaseRecordList.php – I copy the code for one of them:
$clipboardButtons['pasteAfter'] = $this->componentFactory->createGenericButton()
->setTag('button')
->setIcon($this->iconFactory->getIcon('actions-document-paste-after', IconSize::SMALL))
->setTitle($pasteAfterTitle)
->setAttributes([
'data-severity' => 'warning',
'aria-haspopup' => 'dialog',
'data-uri' => $pasteAfterUrl,
'data-content' => $pasteAfterContent,
'class' => 'btn btn-default t3js-modal-trigger',
]);
so the items should have the classes btn btn-default t3js-modal-trigger and the latter should trigger the modal… but if I inspect the code I see that the actual classes are dropdown-item dropdown-item-spaced
Reviews 1
Related issues 3
History 67
-
Garvin Hicking commented and changed status
NewAccepted priorityShould haveMust have <span data-processor="relativetime" data-value="2025-11-05T19:00:21+00:00" > 11/05/25, 19:00 </span> -
Garvin Hicking changed Related to #107949 <span data-processor="relativetime" data-value="2025-11-05T19:00:36+00:00" > 11/05/25, 19:00 </span>
-
Garvin Hicking changed Related to #107884 <span data-processor="relativetime" data-value="2025-11-05T19:00:46+00:00" > 11/05/25, 19:00 </span>
-
Garvin Hicking changed Related to #107823 <span data-processor="relativetime" data-value="2025-11-05T19:00:55+00:00" > 11/05/25, 19:00 </span>
-
Gerrit Code Review pushed patch set 10 for main to change 91386 status
AcceptedUnder Review <span data-processor="relativetime" data-value="2025-11-10T15:10:03+00:00" > 11/10/25, 15:10 </span> -
Garvin Hicking commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2025-11-10T16:25:08+00:00" > 11/10/25, 16:25 </span>Applied in changeset commit:23bf03f561148dfee01e585f58c1e83415076b9c.
-
Benni Mack changed status
ResolvedClosed <span data-processor="relativetime" data-value="2025-12-02T12:04:46+00:00" > 12/02/25, 12:04 </span>
Thanks for this report. Yes, I can confirm this is a problem.
There’s an open patch https://review.typo3.org/c/Packages/TYPO3.CMS/+/91386 where I’ve added this bug. We could also solve it on its own though. Not sure yet, it needs an architectural rework of the DropDownItem logic.