Review 14.3 Merged

96636[BUGFIX] Resolve dependencies of the native "discard" command

Georg Ringer CR +2 V +2 Hard +289 −14 updated 10/12/26, 19:12

Commit message

The workspace dependency resolution for discarding collected native
"discard" commands, but rebuilt the command map only in the legacy
format ("version" with action "clearWSID" / "flush"). Since a native
"discard" carries no "action", every element of a dependency
structure received an empty "version" command, which does nothing.

As a result, discarding the inline child of a record deleted in a
workspace left the parent's delete placeholder behind, PHP warnings
about the missing "action" key were raised, and processCmdmap hooks
received empty "version" commands, requested records even a second
one next to their "discard" command.

Every element now keeps the command format it was requested with,
dependent elements take the format of the requested element, and
other "version" actions in the same command map stay untouched.

Review

  • Code review CR +2 Done
    • Benni Mack +2
  • Verified V +2 Done
    • Benni Mack +2
    • core-ci +1 CI

Issues 1

Files 2

Review log 46

  1. Georg Ringer commented on patch set 1 10/12/26, 18:34

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V -1 10/12/26, 18:41 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/110918

  3. Georg Ringer uploaded patch set 2 V -1 10/12/26, 18:49

  4. core-ci voted on patch set 2 V +1 10/12/26, 18:59 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/110920

  5. Benni Mack voted on patch set 2 CR +2 V +2 10/12/26, 19:12

  6. Benni Mack merged patch set 3 10/12/26, 19:12