Bug #94140

PHP Warning appears when preview in workspace and item of mm relation is disabled

Added by Nikita Hovratov 7 months ago. Updated 5 months ago.

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

0%

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

Description

PHP Warning: array_intersect_key(): Argument #2 is not an array

Full stack trace in attachement.

In class Typo3DbBackend->overlayLanguageAndWorkspaceForJoinedSelect:

$fieldsOfMainTable = $pageRepository->getRawRecord($tableName, $rows[0]['uid']);

The getRawRecord method may return a "0", if the versionied record is disabled.


Files

TYPO3 Exception.html (349 KB) TYPO3 Exception.html Nikita Hovratov, 2021-05-14 10:41
BUGFIX_typo3_10_4_17_extbase_forge_typo3_issue_94140.patch (1.7 KB) BUGFIX_typo3_10_4_17_extbase_forge_typo3_issue_94140.patch Patch for 10.4.17 Heiko Fischer, 2021-07-08 10:46

Related issues

Related to TYPO3 Core - Bug #93484: TYPO3 Workspace, Preview module raising exception for versioned plugin recordsClosed2021-02-10

Actions

Also available in: Atom PDF