[BUGFIX] Fix rootline translation 75/17475/2
authorHelmut Hummel <helmut.hummel@typo3.org>
Thu, 6 Dec 2012 14:20:04 +0000 (15:20 +0100)
committerSteffen Ritter <info@rs-websystems.de>
Sat, 12 Jan 2013 11:28:08 +0000 (12:28 +0100)
commit025887dba6370dbfd50284a9f01d43d7f2b699ec
tree64388e85832306e38d071803361795f03af701b4
parentff81594406ea73c0163b35b5c99b9c0ce202c393
[BUGFIX] Fix rootline translation

The fix in #42029 introduced a regression
as TSFE->tmpl->rootLine holds a reversed
rootline array, while in TSFE->rootLine
the order is "normal"

Additionally the call to getPageOverlay was wrong
because the result of the overlay was never used.

Lastly use the correct uid for looking up the
relation fields.

This change also cleans up the unit tests for
RootlineUtility and adds regression tests for
these issues.

Fixes: #43668
Fixes: #44312
Releases: 6.0, 6.1

Change-Id: I4a577ad749bde397a572ca48ae810e3dfe8a5740
Reviewed-on: https://review.typo3.org/17475
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
typo3/sysext/core/Classes/Utility/RootlineUtility.php
typo3/sysext/core/Tests/Unit/Utility/Fixtures/RootlineUtilityTestAccessibleFixture.php [deleted file]
typo3/sysext/core/Tests/Unit/Utility/RootlineUtilityTest.php
typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php
typo3/sysext/frontend/Tests/Unit/Controller/TypoScriptFrontendControllerTest.php