Bug #93009

TypeError for page which was created in workspace and is hidden, whe nusing getTreeList

Added by Daniel Siepmann 3 months ago. Updated 2 months ago.

Status:
Closed
Priority:
Should have
Category:
Workspaces
Start date:
2020-12-07
Due date:
% Done:

100%

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

Description

  1. Create a new page within a Workspace.
  2. Keep this new page hidden.
  3. Call getTreeList() on ContentObjectRenderer to include this page.

A TypeError should be raised due to the fact, that the overlay will convert $row to false as it is hidden. Later on this $row is passed in expectation it still is an array.

This happens if a sitemap is created via EXT:seo. Open it in preview for a workspace that includes a hidden or deleted page (deleted or hidden within the workspace).

#1

Updated by Gerrit Code Review 3 months ago

  • Status changed from New to Under Review

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

#2

Updated by Daniel Siepmann 3 months ago

  • Description updated (diff)
#3

Updated by Gerrit Code Review 3 months ago

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

#4

Updated by Gerrit Code Review 3 months ago

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

#5

Updated by Daniel Siepmann 3 months ago

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

Updated by Benni Mack 2 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF