Project

General

Profile

Actions

Bug #58746

closed

setTemplatePathAndFilename not work when original Template was not found

Added by Silvia Bigler about 10 years ago. Updated almost 10 years ago.

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.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #34844: view->setTemplatePathAndFilename bugClosed2012-03-14

Actions
Actions

Also available in: Atom PDF