Project

General

Profile

Actions

Bug #93393

closed

Tree Controller may return duplicate pagetypes

Added by Tobias Wojtylak over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Pagetree
Target version:
-
Start date:
2021-02-01
Due date:
% Done:

100%

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

Description

We encountered the problem while using blog extensions.
We define the order of the pagetypes in our own extension via typoscript and since our customers create very often BlogPosts it is further up in the order. The extension itself adds the pageType via `addUserTSConfig` at the end of the order.
This gives us the same entry twice.

An array_unique call would help here

Actions

Also available in: Atom PDF