Review 10.4 Merged

69030[BUGFIX] Return correct source record for relations

Oliver Hader CR +2 V +2 Normal +114 −97 updated 05/05/21, 13:33

Commit message

This change addresses a flaw when resolving ancestor ids of 1:n
relationships - resolving `l10n_source` pointer always was `0`.

Besides that now only non-empty `l10n_parent` or `l10n_source` are
returned as integer. Otherwise `null` is returned and signals that
a corresponding ancestor could not be resolved at all.

Scenario `localizeParentContentChainLanguageSynchronizationSource` of
`DataHandling\IRRE\ForeignField\Modify\ActionTest` was given already,
however `l10n_source` fields were missing in their TCA.

Review

  • Code review CR +2 Done
    • Oliver Hader +2
  • Verified V +2 Done
    • Oliver Hader +2
    • core-ci +1 CI

Issues 1

Files 20

Review log 34

  1. Oliver Hader uploaded patch set 1 05/05/21, 10:23

  2. core-ci voted on patch set 1 V +1 05/05/21, 10:34 Core CI is happy: https://gitlab.typo3.org/TYPO3/CI/cms/-/pipelines/11196

  3. Oliver Hader voted on patch set 1 V +2 CR +2 05/05/21, 13:33

  4. Oliver Hader merged patch set 2 05/05/21, 13:33