[BUGFIX] Implement CMS setRenderingContext for AbstractConditionViewHelper 52/50352/3
authorClaus Due <claus@namelesscoder.net>
Mon, 24 Oct 2016 22:18:01 +0000 (00:18 +0200)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Tue, 25 Oct 2016 14:30:34 +0000 (16:30 +0200)
commite696b442e082c20b15b2d7623e6160489d6fab4d
tree74133ac437a3d2718dad2859c5f9c1045c1c5d73
parent5b1295b4108fe1c1478de78bacef37a7e77ff893
[BUGFIX] Implement CMS setRenderingContext for AbstractConditionViewHelper

This fixes an issue where the CMS specific overridden
setRenderingContext method on CMS AbstractConditionViewHelper is
not present because the class does not subclass the CMS
AbstractViewHelper (due to coupling concerns). Subsequently the
ControllerContext is not assigned in $this->controllerContext.

This inconsistency is fixed by adding the method just like it
appears in the AbstractViewHelper class, along with declaring
the property containing the ControllerContext.

Change-Id: I74779c47e8077d727a8a18c0e00696ba265f3c7a
Resolves: #78414
Releases: 8.4, master
Reviewed-on: https://review.typo3.org/50352
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Frederic Gaus <frederic.gaus@flagbit.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/fluid/Classes/Core/ViewHelper/AbstractConditionViewHelper.php