Bug #88562
closedCalling setEnableFieldsToBeIgnored is ignored, when called in backend context
0%
Description
The QuerySettingsInterface provides a method "setEnableFieldsToBeIgnored". This provides the functionality to explicitly ignore a list of enabled fields and requires to can setIgnoreEnableFields(TRUE) before.
The logic is evaluated in the frontend context (see. Typo3DbQueryParser::getVisibilityConstraintStatement) but it is not evaluated for the backend. The variable $enableFieldsToBeIgnored is even not passed to the method getBackendConstraintStatement.
Updated by Timo Hund over 5 years ago
- Category set to Extbase
- Target version set to Candidate for Major Version
Updated by Alexander Schnitzler over 4 years ago
- Assignee set to Alexander Schnitzler
Updated by Alexander Schnitzler over 4 years ago
- Status changed from New to Rejected
What you describe is actually desired behaviour.
The backend should by default ignore enable fields to let users see disabled records e.g.
Updated by Philipp Kitzberger almost 3 years ago
Alexander Schnitzler wrote in #note-3:
What you describe is actually desired behaviour.
The backend should by default ignore enable fields to let users see disabled records e.g.
Something's weird here ;-/
On TYPO3 11 and for our custom extbase BE module records only show up when I do this to the repository:
$query->getQuerySettings()->setIgnoreEnableFields(true);
It seems not to be the default (anymore). But it used to be like this, right?