[BUGFIX] Fluid tries to render folders as templates partials and layouts 51/23951/5
authorKrzysztof Adamczyk <k.adamczyk@koptis.com.pl>
Sat, 21 Sep 2013 13:42:31 +0000 (15:42 +0200)
committerMarkus Klein <klein.t3@reelworx.at>
Tue, 7 Oct 2014 21:37:11 +0000 (23:37 +0200)
commitf8abcef305dd158ec2d3444033805e604c118330
treec056077cb4a104628e8fd4fdd110727182329d42
parent48f40c58c847811b29042359918a8ae323079b74
[BUGFIX] Fluid tries to render folders as templates partials and layouts

The file_exists checks in TemplateView and StandaloneView are true for
folders. This leads to unrendered partials with resorted paths.
Use is_file instead.

Releases: master, 6.2, 6.1
Resolves: #47188
Change-Id: I9c168f4793f173f6c2f848e6e3da1f6021ae9c06
Reviewed-on: http://review.typo3.org/23951
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
typo3/sysext/fluid/Classes/View/StandaloneView.php
typo3/sysext/fluid/Classes/View/TemplateView.php