Project

General

Profile

Actions

Bug #93009

closed

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

Added by Daniel Siepmann over 3 years ago. Updated over 3 years 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).

Actions #1

Updated by Gerrit Code Review over 3 years 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

Actions #2

Updated by Daniel Siepmann over 3 years ago

  • Description updated (diff)
Actions #3

Updated by Gerrit Code Review over 3 years 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

Actions #4

Updated by Gerrit Code Review over 3 years 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

Actions #5

Updated by Daniel Siepmann over 3 years ago

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

Updated by Benni Mack over 3 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF