#92292Set reference to an element - paste records
Description
I copy the content of a page from a page and insert a record (shortcut) on any page. Now I would like to paste the copied page content into records using the icon (paste records from the clipboard). Does not work, just no title is inserted. Even with save, the page content is not adopted – remains empty.
See PrintScreens
Reviews 3
Related issues 1
Files 2
History 710
-
Andreas Kießling commented <span data-processor="relativetime" data-value="2020-09-15T17:26:18+00:00" > 09/15/20, 17:26 </span>
-
Andreas Kießling changed Related to #88711 <span data-processor="relativetime" data-value="2020-09-15T18:16:20+00:00" > 09/15/20, 18:16 </span>
-
Frank Müller commented and changed PHP Version 7.4 <span data-processor="relativetime" data-value="2021-11-19T13:56:06+00:00" > 11/19/21, 13:56 </span>
Bug is still reproducable in 10.4.21
-
Andreas Kießling commented <span data-processor="relativetime" data-value="2023-05-08T14:19:06+00:00" > 05/08/23, 14:19 </span>
also present in 11.5.26
-
Heinz Schilling commented and changed TYPO3 Version
1012 PHP Version7.48.1 <span data-processor="relativetime" data-value="2024-05-27T11:41:34+00:00" > 05/27/24, 11:41 </span>Still reproducable in 12.4.15
-
Gerrit Code Review pushed patch set 1 for main to change 88908 status
NewUnder Review <span data-processor="relativetime" data-value="2025-04-02T10:42:57+00:00" > 04/02/25, 10:42 </span> -
Gerrit Code Review pushed patch set 1 for 13.4 to change 88959 <span data-processor="relativetime" data-value="2025-04-07T12:38:42+00:00" > 04/07/25, 12:38 </span>
-
Gerrit Code Review pushed patch set 1 for 12.4 to change 88960 <span data-processor="relativetime" data-value="2025-04-07T12:38:48+00:00" > 04/07/25, 12:38 </span>
-
Anonymous commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2025-04-07T13:05:09+00:00" > 04/07/25, 13:05 </span>Applied in changeset commit:e68f565a7f423efb456b01194e7fbd6a126a1662.
-
Benni Mack changed status
ResolvedClosed <span data-processor="relativetime" data-value="2025-12-02T14:36:47+00:00" > 12/02/25, 14:36 </span>
I can confirm the bug (on 10.4.8)
Seems like this was broken in #88711
https://github.com/TYPO3/TYPO3.CMS/blob/7b919798c8784ba3a3dd8cb82ab2d8a7e777878a/typo3/sysext/backend/Classes/Form/FormDataProvider/TcaGroup.php#L105
The code only works, if one of the multi-clipboards is used, that means: use list module, select a non-default clipboard and move/copy some records to it.
With the default clipboard, the supposed record uid is only the counter, thus the button tries to insert tt_content_1
Copying the code from below seems to help to properly extract the uid from the clipboard array