Closed MohsinQK closed 2 years ago
@MohsinQK Thanks for the patch - but we need this ViewHelper to continue supporting TYPO3 8.7 and 9.5 which means we can't just change the class and remove the parameter, as this would break on those versions. Instead we need to have a check if the old class exists and if so, use it. Otherwise, use the replacement class (without the vendorName parameter).
Hi. This quick fix will not work in the end, because in the end the $request will miss the controllerObjectName.
setControllerVendorName is removed from TYPO3\CMS\Extbase\Mvc\Web\Request class and also these classes are deprecated and moved to use TYPO3\CMS\Extbase\Mvc\Response , TYPO3\CMS\Extbase\Mvc\Request;