Bug #62550
closedactivated defLangBinding: Content Elements that exist only in translation are not displayed at all
100%
Description
With activated defLangBinding setting content elements that only exist in the translation are not displayed at all.
The problem seems to be
if (!$lP && ($this->defLangBinding || $row['sys_language_uid'] != -1)) {
and
$defLangBinding[$key][$lP][$row[$lP ? 'l18n_parent' : 'uid']] = $singleElementHTML;
Instead of checking regarding language "$lP", it would be better to check if the l18n_parent is set for the corresponding row.
Of course, one also needs to modify getNonTranslatedTTcontentUids method accordingly
Files
Updated by Daniel Goerz over 8 years ago
- Category set to Backend User Interface
- TYPO3 Version changed from 6.2 to 7
In 7 LTS (and current master) the issue can be reproduced as following:
- Create a page with at least one alternative language
- Copy content to the alternative language (not translate, but copy)
- enable mod.web_layout.defLangBinding = 1
- Go to page module in language mode
Updated by Riccardo De Contardi about 7 years ago
Still reproducible in latest master 9.0.0-dev
Updated by Riccardo De Contardi about 7 years ago
- Related to Bug #81753: Content element translations dissapear in page module after move to another column added
Updated by Gerrit Code Review about 7 years ago
- Status changed from New to Under Review
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54654
Updated by Gerrit Code Review about 7 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54654
Updated by Gerrit Code Review almost 7 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54654
Updated by Gerrit Code Review almost 7 years ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54654
Updated by Gerrit Code Review almost 7 years ago
Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54654
Updated by Gerrit Code Review over 6 years ago
Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54654
Updated by Gerrit Code Review over 6 years ago
Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54654
Updated by Gerrit Code Review over 6 years ago
Patch set 9 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54654
Updated by Gerrit Code Review over 6 years ago
Patch set 10 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54654
Updated by Nicole Cordes over 6 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 74044c191adcfcf1418d0800b8db1e511735975b.
Updated by Gerrit Code Review over 6 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56932
Updated by Mathias Brodala over 6 years ago
- File 01-default.png 01-default.png added
- File 02-defLangBinding.png 02-defLangBinding.png added
- File 03-defLangBinding-patched.png 03-defLangBinding-patched.png added
Here are my results when testing this change in TYPO3v8 (8.7.15): when activating the defLangBinding
option, translated content is invisible as described in the report. However, this is not fixed even after applying the change. But now even the container for the content element is invisible.
Updated by Gerrit Code Review over 6 years ago
Patch set 2 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56932
Updated by Nicole Cordes over 6 years ago
- Status changed from Under Review to Resolved
Applied in changeset 0fbeb2d7ff5b21dda28da7d5af26d70c3bb14cbd.