Actions
Bug #100638
opensetIgnoreEnableFields() does not work on language overlays
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
Updated by Christian Kuhn over 1 year ago
- Related to Bug #68672: setIgnoreEnableFields() should be inherited to language overlays added
Updated by Christian Kuhn over 1 year ago
- Related to Bug #73007: Insufficient sysLanguageStatement does not respect enableFields for translations added
Updated by Alexander Köberl over 1 year ago
- File FireShot2.png FireShot2.png added
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()
Updated by Alexander Köberl over 1 year ago
- File FireShot1.png FireShot1.png added
compared to the default language output (1 hidden also included in var_dump, id 50)
Updated by Astrid Haubold about 1 year ago
- Related to Story #101566: Extbase related translation issues added
Actions