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 almost 4 years ago. Updated almost 4 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

Also available in: Atom PDF