[BUGFIX] Invalid localization overlay of cObject FILES 39/29739/9
authorOliver Hader <oliver@typo3.org>
Wed, 30 Apr 2014 07:44:01 +0000 (09:44 +0200)
committerSteffen Ritter <info@rs-websystems.de>
Wed, 11 Jun 2014 14:54:53 +0000 (16:54 +0200)
commitd976053cbff5fc32c60c5b569d4634d3cf2ca3d0
tree7bd80ee26baeb31962778baf36739bdebb7a1d4c
parent2f2c328ee835e227f0458ab11d9834ca4a49a4f6
[BUGFIX] Invalid localization overlay of cObject FILES

The TypoScript cObject FILES does not consider localization
overlays and behavior correctly when it comes additional
translation table (e.g. for pages).

Concerning pages_language_overlay.media, there is no default
fallback to the values of the default language. This behavior
is the same to TYPO3 4.5. If the localization shall fallback
to the default language, the "mergeIfNotBlank" property needs
to be used for the accordant field.

For having the localization handling working properly the
FILES cObject section "references" must not set the properties
"table" and "uid" - otherwise the values will just be overriden
by those TypoScript settings.

Resolves: #58352
Resolves: #47869
Releases: 6.2
Change-Id: I8e915654e5ab1ed1eafe86411930f9fbfcc225ae
Reviewed-on: https://review.typo3.org/29739
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
typo3/sysext/core/Classes/Resource/Service/FrontendContentAdapterService.php
typo3/sysext/frontend/Classes/ContentObject/FilesContentObject.php
typo3/sysext/frontend/Classes/Page/PageRepository.php