Bug #94140
closedPHP Warning appears when preview in workspace and item of mm relation is disabled
100%
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
Updated by Nikita Hovratov over 3 years ago
- File TYPO3 Exception.html TYPO3 Exception.html added
Updated by Nikita Hovratov over 3 years ago
- Related to Bug #93484: TYPO3 Workspace, Preview module raising exception for versioned plugin records added
Updated by Heiko Fischer over 3 years ago
- File BUGFIX_typo3_10_4_17_extbase_forge_typo3_issue_94140.patch BUGFIX_typo3_10_4_17_extbase_forge_typo3_issue_94140.patch added
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.
Updated by Gerrit Code Review almost 3 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
Updated by Gerrit Code Review almost 3 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
Updated by Benni Mack almost 3 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 2394359d76301ac393ed3f256a99c675c51971a7.