Actions
Bug #79156
closedWrong translation behavior for file references fields in pages/pages_language_overlay with l10n_mode = exclude
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Localization
Target version:
-
Start date:
2017-01-04
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
When you don't define a field in pages_language_overlay
because the field is defined as l10n_mode = exclude
in pages
the PageRepository::shouldFieldBeOverlaid()
wrongly sees the field as being overlayed.
All methods calling PageRepository::shouldFieldBeOverlaid()
respect $GLOBALS['TYPO3_CONF_VARS']['FE']['pageOverlayFields']
already before calling it except PageRepository::getFileReferences()
where it now goes wrong when fetching files for the field of a translated page.
Example ts to test:
page.111 = FILES page.111 { references { table = pages fieldName = my_custom_field } renderObj = IMAGE renderObj { file.import.data = file:current:uid file.treatIdAsReference = 1 altText.data = file:current:title wrap = <li>|</li> } stdWrap.wrap = <ul>|</ul> }
Actions