Project

General

Profile

Actions

Bug #84139

closed

l18n_cfg not respected in sysext/frontend/Classes/Page/PageRepository.php

Added by Martin R. Krause over 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Localization
Target version:
-
Start date:
2018-03-05
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
7.1
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:

Description

All page gathering and overlaying methods in sysext/frontend/Classes/Page/PageRepository.php do not care for l18n_cfg settings (Hide if no translation, Hide default translation).

Fix idea:

        foreach ($records as $index => $record) {
            if (GeneralUtility::hideIfDefaultLanguage($record['l18n_cfg']) && $this->sys_language_uid === 0) {
                unset($records[$index]);
            }
            if (GeneralUtility::hideIfNotTranslated($record['l18n_cfg']) && $this->sys_language_uid !== 0 && !$record['_PAGES_OVERLAY']) {
                if ($record['uid'] == 2464) die(var_dump($record));
                unset($records[$index]);
            }
        }

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #82122: Typo3DbBackend::doLanguageAndWorkspaceOverlay ignores pages l18n_cfgClosed2017-08-17

Actions
Related to TYPO3 Core - Bug #85063: \TYPO3\CMS\Frontend\Typolink\PageLinkBuilder::build doesn't honor l18n_cfg settingsClosed2018-05-22

Actions
Actions #1

Updated by Markus Sommer over 6 years ago

  • Complexity set to easy
Actions #2

Updated by Stephan Großberndt over 6 years ago

  • Subject changed from l18n_cfg not resprected in sysext/frontend/Classes/Page/PageRepository.php to l18n_cfg not respected in sysext/frontend/Classes/Page/PageRepository.php
Actions #3

Updated by Wolfgang Klinger over 6 years ago

  • Related to Bug #82122: Typo3DbBackend::doLanguageAndWorkspaceOverlay ignores pages l18n_cfg added
Actions #4

Updated by Gerrit Code Review over 6 years ago

  • Status changed from New to Under Review

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/53729

Actions #5

Updated by Tymoteusz Motylewski over 6 years ago

  • Related to Bug #85063: \TYPO3\CMS\Frontend\Typolink\PageLinkBuilder::build doesn't honor l18n_cfg settings added
Actions #6

Updated by Susanne Moog over 5 years ago

  • Status changed from Under Review to Closed
Actions

Also available in: Atom PDF