Review TYPO3_4-7 Abandoned

17999[BUGFIX] Faulty translation behavior of IRRE using workspaces

Oliver Hader CR 0 V 0 Normal +90 −7 updated 07/05/13, 12:17

Commit message

The translation behavior of IRRE child records on workspaces is
wrong on plain new records.

Inline Relational Records editing used the most specific version
of a record for references. In case of creating new records on a
workspace, a version placeholder record will be generated as
well as a specific version to overlay that placeholder.
Translations of a record will copy the accordant record and
refer to it by using the l18n_parent field (which is the
"transOrigPointerField" in TCA). For historic reasons the uid of
the placeholder record is used in that case instead of the most
specific version - otherwise relations between original and
translation are not recognized in several places in TYPO3 (which
is actually the real bug, but cannot be resolved easily on the
fly for historical reasons).

Thus, the bug fix is to use the uid of the placeholder record in
those cases instead and to adopt the form view component of IRRE
to recognize those placeholders as translation parents as well.

Review

  • Code review CR 0

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V 0

    Imported before Forger kept the single votes, the next import adds them.

Files 2