Project

General

Profile

Actions

Bug #22710

closed

tslib_fe::getPagesTSconfig wrong order of rootline TS

Added by Martin Neumann over 14 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
Start date:
2010-05-25
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.0
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Stabilization Sprint

Description

If you set some pageTSConfig on a higher level page in the rootline and overwrite that value in a lower level page the value from the HIGHER level will be delivered by tslib_fe::getPagesTSconfig if you call that method on the lower-level page.

Correct would be to deliver the value from the lower level page. This is done perfectly in the corresponding method t3lib_befunc::getPagesTSconfig for the BE.

The little difference: t3lib_befunc::getPagesTSconfig has the additional line 1334: ksort($rootLine); // Order correctly
which re-sorts the rootline. This line has to be inserted into tslib_fe::getPagesTSconfig also as line 4440 somethin like:

$rootLine=$this->rootLine;
ksort($rootLine);
//while(list($k,$v)=each($this->rootLine)) {
while(list($k,$v)=each($rootLine)) {

(issue imported from #M14471)


Files

pagetsconfig_1.0.0_201507281954.zip (2.3 KB) pagetsconfig_1.0.0_201507281954.zip Extension for reproducing the issue Daniel Goerz, 2015-07-28 19:59
Actions

Also available in: Atom PDF