Issue Bug Closed

#91989Resolving of PHP based Views not possible anymore

Kevin Ditscheid 08/12/20, 17:25 updated 06/05/23, 11:53

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

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.