Bug #88726

$orderByFields is not handen over to parent::init() for PageTreeView

Added by Tomas Norre Mikkelsen 2 months ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2019-07-11
Due date:
% Done:

0%

TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Hi.

Today I saw that the $orderByFields isn't handed over to the parent::init() for the PageTreeView.
https://github.com/TYPO3/TYPO3.CMS/blob/master/typo3/sysext/backend/Classes/Tree/View/PageTreeView.php#L70

I don't know what consequences this have, but there are currently no tests covering this.

This has been in the core for where long, without any notice, so it cannot have a big impact on the users of TYPO3.

6.2 -> https://github.com/TYPO3/TYPO3.CMS/blob/TYPO3_6-2/typo3/sysext/backend/Classes/Tree/View/PageTreeView.php#L57
6.1 -> https://github.com/TYPO3/TYPO3.CMS/blob/TYPO3_6-1/typo3/sysext/backend/Classes/Tree/View/PageTreeView.php#L69
6.0 -> https://github.com/TYPO3/TYPO3.CMS/blob/TYPO3_6-0/typo3/sysext/backend/Classes/Tree/View/PageTreeView.php#L78

I'll be happy to help fixing this. But would like to have your confirmation first that it's issue.

Thanks in advance.
Tomas

Also available in: Atom PDF