Project

General

Profile

Actions

Bug #68672

closed

Epic #86307: Extbase allows to fetch deleted/hidden records (respects ignoreEnableFields)

setIgnoreEnableFields() should be inherited to language overlays

Added by Martin R. Krause over 8 years ago. Updated 3 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Extbase + l10n
Target version:
-
Start date:
2015-07-31
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
hard
Is Regression:
No
Sprint Focus:

Description

Using the setIgnoreEnableFields() for query settings in an extbase repository fails, when the record gets an language overlay. It should be inherited to the overlay query.

The usage of the enable fields for the query of the language overlay is pretty much hardcoded in

typo3_src-6.2.12/typo3/sysext/frontend/Classes/Page/PageRepository.php:431

In addition the logic of the language overlay for Extbase record is inconsistent:

E.g.: Providing that starttime has l10n_mode "mergeIfNotBlank" (which is default), a translation of a record can be shown, even if its l10_parent is still hidden – only the enable fields of the translated record matter (which is OK). The other way around, requesting the record from an Extbase repository does not work, as both records (original and translation) need to allow for display of the record in order to show the translation.


Related issues 3 (2 open1 closed)

Related to TYPO3 Core - Bug #73007: Insufficient sysLanguageStatement does not respect enableFields for translationsClosed2016-01-29

Actions
Related to TYPO3 Core - Bug #84955: Extbase persistence layer ignores query settingsNeeds Feedback2018-05-09

Actions
Related to TYPO3 Core - Bug #100638: setIgnoreEnableFields() does not work on language overlaysNew2023-04-17

Actions
Actions

Also available in: Atom PDF