Review main Merged

97338[BUGFIX] Consider OneToOne/ManyToOne in workspace publishing

Simon Praetorius CR +2 V +2 Normal +52 −32 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
    • Benni Mack +1
    • Simon Schaufelberger +1
  • Verified V +2 Done
    • Georg Ringer +2
    • Benni Mack +1
    • Simon Schaufelberger +1
    • core-ci +1 CI

Issues 2

Files 5

Review log 1420

  1. Simon Praetorius uploaded patch set 1 11/04/26, 12:00

  2. core-ci voted on patch set 1 V +1 11/04/26, 12:09 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/113276

  3. Simon Praetorius rebased onto patch set 2 V +1 11/04/26, 14:42

  4. core-ci voted on patch set 2 V +1 11/04/26, 14:53 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/113284

  5. Simon Praetorius rebased onto patch set 3 V +1 11/04/26, 16:07

  6. core-ci voted on patch set 3 V +1 11/04/26, 16:32 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/113295

  7. Simon Praetorius uploaded patch set 4 V +1 11/04/26, 16:52

  8. Simon Praetorius uploaded patch set 5 11/04/26, 16:56

  9. Simon Praetorius marked it ready for review 11/04/26, 17:11

  10. core-ci voted on patch set 4 V -1 11/04/26, 17:13 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/113301

  11. core-ci voted on patch set 5 V +1 11/04/26, 17:14 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/113303

  12. Oliver Klee voted on patch set 5 V +1 11/04/26, 18:06

  13. Benni Mack voted on patch set 5 CR +1 V +1 11/05/26, 13:46

  14. Simon Schaufelberger voted on patch set 5 CR +1 V +1 11/06/26, 00:56

  15. Benni Mack updated the commit message in patch set 6 CR +1 V +1 11/06/26, 05:52

  16. core-ci voted on patch set 6 V +1 11/06/26, 06:06 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/113447

  17. Benni Mack voted on patch set 6 CR +1 V +1 11/06/26, 06:09

  18. Simon Schaufelberger voted on patch set 6 CR +1 V +1 11/06/26, 09:12

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

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