Project

General

Profile

Actions

Bug #94140

closed

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

Added by Nikita Hovratov almost 3 years ago. Updated over 1 year ago.

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

100%

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


Related issues 1 (0 open1 closed)

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

Actions
Actions #1

Updated by Nikita Hovratov almost 3 years ago

  • File deleted (index.php.htm)
Actions #3

Updated by Nikita Hovratov almost 3 years ago

  • Related to Bug #93484: TYPO3 Workspace, Preview module raising exception for versioned plugin records added
Actions #4

Updated by Nikita Hovratov almost 3 years ago

  • Description updated (diff)
Actions #5

Updated by Nikita Hovratov almost 3 years ago

  • Description updated (diff)
Actions #6

Updated by Heiko Fischer almost 3 years ago

We wrote a patch for this issue on Typo3 10.4.17, where we just keep him from entering the intersect method.

The patch is prepared for composer patches "cweagans/composer-patches". Therefore it targets the typo3/cms-extbase repository.

Actions #7

Updated by Gerrit Code Review over 2 years ago

  • Status changed from New to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/73122

Actions #8

Updated by Gerrit Code Review over 2 years ago

Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/73085

Actions #9

Updated by Benni Mack over 2 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #10

Updated by Benni Mack over 1 year ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF