Review 13.4 Merged

88959[BUGFIX] Determine correct record uid from single record clipboard

Andreas Kienast CR +2 V +2 Easy +12 −15 updated 04/07/25, 13:01

Commit message

TCA group fields offer to paste elements from the currently active
clipboard, which may come in handy. However, due to a misunderstanding
how the clipboard stores its data, this feature is broken for clipboards
that are in single record mode (aka "normal" clipboard), as the "record
uid" is a simple flag in this case.

The code is adjusted to take the array keys of the clipboard items into
account only to fetch the uid from the keys. Also, the code is cleaned
up a bit to avoid duplication.

Review

  • Code review CR +2 Done
    • Andreas Kienast +2
  • Verified V +2 Done
    • Andreas Kienast +2
    • core-ci +1 CI

Issues 1

Files 1

Review log 34

  1. Andreas Kienast commented on patch set 1 04/07/25, 12:38

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V +1 04/07/25, 12:45 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/77128

  3. Andreas Kienast voted on patch set 1 CR +2 V +2 04/07/25, 13:01

  4. Andreas Kienast merged patch set 2 04/07/25, 13:01