Project

General

Profile

Actions

Bug #100638

open

setIgnoreEnableFields() does not work on language overlays

Added by Alexander Köberl over 1 year ago. Updated over 1 year 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 #1

Updated by Christian Kuhn over 1 year ago

  • Related to Bug #68672: setIgnoreEnableFields() should be inherited to language overlays added
Actions #2

Updated by Christian Kuhn over 1 year ago

  • Related to Bug #73007: Insufficient sysLanguageStatement does not respect enableFields for translations added
Actions #3

Updated by Alexander Köberl over 1 year ago

  • File FireShot.png added
Actions #4

Updated by Alexander Köberl over 1 year ago

The count() method delivers weird results. The hidden items are counted, but not included in the output, item is missing.
the first var_dump is $query->execute()->count(), the second is $query->execute()

Actions #5

Updated by Alexander Köberl over 1 year ago

  • File deleted (FireShot.png)
Actions #6

Updated by Alexander Köberl over 1 year ago

compared to the default language output (1 hidden also included in var_dump, id 50)

Actions #7

Updated by Benni Mack over 1 year ago

  • Sprint Focus set to Stabilization Sprint
Actions #8

Updated by Astrid Haubold about 1 year ago

  • Related to Story #101566: Extbase related translation issues added
Actions

Also available in: Atom PDF