Project

General

Profile

Actions

Bug #91989

closed

Resolving of PHP based Views not possible anymore

Added by Kevin Ditscheid over 3 years ago. Updated 11 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Extbase
Target version:
-
Start date:
2020-08-12
Due date:
% Done:

0%

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

Description

I have an extension that renders a Json response via the format-parameter.
In TYPO3 9, the View resolved to the JsonView automatically in ActionController:resolveViewObjectName(), but this logic vanished with TYPO3 10 and the GenericViewResolver does not resolve to anything useful but a default View object.

https://github.com/TYPO3/TYPO3.CMS/blob/9.5/typo3/sysext/extbase/Classes/Mvc/Controller/ActionController.php#L455
https://github.com/TYPO3/TYPO3.CMS/blob/10.4/typo3/sysext/extbase/Classes/Mvc/Controller/ActionController.php#L528

Actions

Also available in: Atom PDF