Project

General

Profile

Actions

Bug #100638

open

setIgnoreEnableFields() does not work on language overlays

Added by Alexander Köberl about 1 year ago. Updated 11 months ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Extbase
Target version:
-
Start date:
2023-04-17
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
11
PHP Version:
8.0
Tags:
setIgnoreEnableFields
Complexity:
Is Regression:
Sprint Focus:
Stabilization Sprint

Description

setIgnoreEnableFields() just does still not work on language overlays. Simple code example is:

$query = $this->createQuery();
$query->setOrderings(['sorting' => \TYPO3\CMS\Extbase\Persistence\QueryInterface::ORDER_ASCENDING]);
$query->getQuerySettings()->setIgnoreEnableFields(true);
return $query->execute();

shows hidden records in default language, does not show hidden records in foreign languages.
Found 2 very old issues for the same issue:

related to https://forge.typo3.org/issues/68672
related to https://forge.typo3.org/issues/73007


Files

FireShot2.png (65.3 KB) FireShot2.png Alexander Köberl, 2023-04-17 14:22
FireShot1.png (70.8 KB) FireShot1.png Alexander Köberl, 2023-04-17 14:26

Related issues 3 (1 open2 closed)

Related to TYPO3 Core - Bug #68672: setIgnoreEnableFields() should be inherited to language overlaysClosed2015-07-31

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

Actions
Related to TYPO3 Core - Story #101566: Extbase related translation issuesNew2023-08-03

Actions
Actions

Also available in: Atom PDF