Project

General

Profile

Actions

Bug #104548

open

An error occurs if includeAllVersionedRecords(WorkspaceRestriction) is set to true while joining another table.

Added by Hidefumi OKUMURA 4 months ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Workspaces
Target version:
-
Start date:
2024-08-05
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
12
PHP Version:
8.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

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
                    )
                );

Related issues 1 (1 open0 closed)

Related to TYPO3 Core - Bug #102613: Workspace record overlay fails if join with other tableNew2023-12-06

Actions
Actions #1

Updated by Benni Mack 1 day ago

  • Related to Bug #102613: Workspace record overlay fails if join with other table added
Actions

Also available in: Atom PDF