[BUGFIX] Media field is empty on page localization 19/29719/5
authorOliver Hader <oliver@typo3.org>
Mon, 28 Apr 2014 20:32:17 +0000 (22:32 +0200)
committerOliver Hader <oliver.hader@typo3.org>
Fri, 2 May 2014 17:57:57 +0000 (19:57 +0200)
commita13a45454c6c7285e00c0ad11f3a6025ddd4bca0
tree41ee204aeab8561c20766b9efcf4500776c5cb59
parentae771e0d9dfc4a088104bebe2c9869bfae0ea767
[BUGFIX] Media field is empty on page localization

If comparing localization of regular tables (like tt_content) to
pages and its specific overlay table pages_language_overlay, the
main difference is, that regular tables are copied directly and
page translation are shown in the edit view first - without
persisting to the database and thus not having a proper uid at
this time, yet.

This means, that "localizeChildrenAtParentLocalization" in the
TCA field configuration won't have any effect.

This change brings back the IRRE localization icons for children
and "localize all" link for the media field. However, those are
only displayed if the new page overlay has been saved once.

Resolves: #57488
Releases: 6.2
Change-Id: I29886776b40accce48ce5cd10937ff65b20430fb
Reviewed-on: https://review.typo3.org/29719
Reviewed-by: Markus Klein
Reviewed-by: Wouter Wolters
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Tested-by: Nadir S.
Reviewed-by: Frans Saris
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
typo3/sysext/backend/Classes/Form/Element/InlineElement.php
typo3/sysext/frontend/Configuration/TCA/pages_language_overlay.php