Project

General

Profile

Actions

Bug #67033

closed

Fluid StandaloneView does not resolve paths like EXT:my_ext/foo/bar

Added by Michael Grundkötter almost 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Fluid
Target version:
Start date:
2015-05-19
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

The class \TYPO3\CMS\Fluid\View\StandaloneView does not resolve file paths the same way like TemplateView does. Especially the method resolveFileNamePath is different. This leads to an error when partials or layouts are used and the layoutRootPaths TS setting is used. The paths there may be specified with EXT:<extension-name> which will not be resolved in this case.

To fix this, the methods getPartialPathAndFilename and getLayoutPathAndFilename should call GeneralUtility::getFileAbsFileName() on the filenames and the documentation should also contain the feature to use partials and layouts as well (http://wiki.typo3.org/How_to_use_the_Fluid_Standalone_view_to_render_template_based_emails).


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Feature #58087: Fluid should support "EXT:" pathsClosed2014-04-22

Actions
Actions

Also available in: Atom PDF