[BUGFIX] Fix rootline translation 92/16992/7
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:11:03 +0000 (12:11 +0100)
commit51f416659ee7c8de827b036471b7c3d5efbd1634
tree138badedcbb88c4dd5ee0d924b214cbc5af0c696
parentb09bc75ece498d7b707635235cdba5e114640226
[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/16992
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
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