Bug #82122
closedTypo3DbBackend::doLanguageAndWorkspaceOverlay ignores pages l18n_cfg
0%
Description
Page records have a l18n_cfg
bit field that has one bit for "Hide page if no translation for current language exists".
TYPO3\CMS\Extbase\Persistence\Generic\Storage\Typo3DbBackend::doLanguageAndWorkspaceOverlay()
does ignore this setting, so that pages without a translation into the current language are returned despite the "hide page if not translation" setting being active.
The method relies on
TYPO3\CMS\Frontend\Page\PageRepository::getPagesOverlay()
, which also ignores l18n_cfg
.
One of those methods should take care of handling the page l18n_cfg
property.
Steps to reproduce:
- Setup a second language in TYPO3
- Create a page with "Hide page if no translation for current language exists" set
- In the frontend page with
L=1
, useExtbase\Persistence\Generic\Query
to fetch this page - The page will be returned, but should not
Updated by Gerrit Code Review over 7 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/53729
Updated by Gerrit Code Review about 7 years ago
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/53729
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/53729
Updated by Gerrit Code Review about 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/53729
Updated by Gerrit Code Review about 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/53729
Updated by Gerrit Code Review almost 7 years ago
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/54966
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/53729
Updated by Gerrit Code Review almost 7 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/53729
Updated by Gerrit Code Review almost 7 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/53729
Updated by Gerrit Code Review almost 7 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/53729
Updated by Wolfgang Klinger over 6 years ago
- Related to Bug #84139: l18n_cfg not respected in sysext/frontend/Classes/Page/PageRepository.php added
Updated by Mathias Brodala over 6 years ago
- Sprint Focus deleted (
On Location Sprint)
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/53729
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
Updated by Tymoteusz Motylewski over 6 years ago
- Related to Bug #75014: l18n_cfg not respected in fluid_styled_contents of type special menu added
Updated by Susanne Moog over 5 years ago
- Status changed from Under Review to Closed
Fixed with https://review.typo3.org/c/Packages/TYPO3.CMS/+/57038 (Patch has been abandoned)