Actions
Bug #58746
closedsetTemplatePathAndFilename not work when original Template was not found
Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
Extbase
Target version:
-
Start date:
2014-05-13
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
If I set a new Template in a controller action ( via $this->view->setTemplatePathAndFilename('path/to/template/List.html') ) I get this error when the original action file does not exist in the first place.
error:
Sorry, the requested view was not found.
The technical reason is: No template was found. View could not be resolved for action "search" in class "NWS\UserFjx217\Controller\FileController".
If the template search.html does not exist, I cannot use another template. This is somehow counterintuitive.
Actions