Review 14.3 Merged

97406[BUGFIX] Consider OneToOne/ManyToOne in workspace publishing

Benni Mack CR +2 V +2 Normal +49 −24 updated 11/07/26, 19:02

Commit message

When publishing a record to the live workspace which has OneToOne or
ManyToOne references to other unpublished records with workspace
support, these related records weren't auto-published together with
the parent record. This could lead to invalid or incomplete data in the
live workspace.

This patch adjusts the built-in `WorkspaceDependencyReferenceListener`
to also consider OneToOne and ManyToOne references as dependencies.
Note that this only affects TCA fields of type `inline` or `file`.

Review

  • Code review CR +2 Done
    • Georg Ringer +2
  • Verified V +2 Done
    • Georg Ringer +2
    • core-ci +1 CI

Issues 2

Files 4

Review log 57

  1. Benni Mack commented on patch set 1 11/06/26, 21:32

    Cherry Picked from branch main. The following files contain Git conflicts: * typo3/sysext/workspaces/Tests/Functional/DataHandler/PublishCommandTest.php
  2. core-ci voted on patch set 1 V -1 11/06/26, 21:43 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/113536

  3. Georg Ringer uploaded patch set 2 V -1 11/07/26, 18:51

  4. Georg Ringer commented on patch set 2 11/07/26, 18:53

    This change is ready for review.
  5. core-ci voted on patch set 2 V +1 11/07/26, 19:01 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/113575

  6. Georg Ringer voted on patch set 2 CR +2 V +2 11/07/26, 19:02

  7. Georg Ringer merged patch set 3 11/07/26, 19:02