#104548An error occurs if includeAllVersionedRecords(WorkspaceRestriction) is set to true while joining another table.
Description
line 104. in sysext/core/Classes/Database/Query/Restriction/WorkspaceRestriction.php
forgot $tableAlias variables?
$constraints[] = $expressionBuilder->and(
$workspaceIdExpression,
$expressionBuilder->neq(
't3ver_state',
VersionState::DELETE_PLACEHOLDER
)
);
$constraints[] = $expressionBuilder->and(
$workspaceIdExpression,
$expressionBuilder->neq(
$tableAlias .'.t3ver_state',
VersionState::DELETE_PLACEHOLDER
)
);Reviews 2
Related issues 1
History 37
-
Benni Mack changed Related to #102613 11/22/24, 15:06
-
Gerrit Code Review pushed patch set 2 for main to change 89886 status
NewUnder Review 06/25/25, 17:32 -
Gerrit Code Review pushed patch set 3 for main to change 89886 06/25/25, 17:40
-
Gerrit Code Review pushed patch set 4 for main to change 89886 06/25/25, 17:53
-
Gerrit Code Review pushed patch set 1 for 13.4 to change 89905 06/25/25, 21:13
-
Christian Kuhn commented and changed status
Under ReviewResolved done0 %100 % 06/25/25, 21:55 -
Benni Mack changed status
ResolvedClosed 12/02/25, 14:33
Applied in changeset commit:74934abfa0077e9b3a243079e606123ff4146a23.