Bug #89522
closedfluid f:widget.link - f:widget.uri don't work anymore
0%
Description
Example:
<f:widget.link useCacheHash="1" addQueryStringMethod="GET" arguments="{currentPage: pagination.nextPage}">next</f:widget.link>
at TYPO3\CMS\Extbase\Mvc\Web\Request there is no method called getArgumentPrefix()
Error:
Call to undefined method TYPO3\CMS\Extbase\Mvc\Web\Request::getArgumentPrefix()
\typo3\sysext\fluid\Classes\ViewHelpers\Widget\LinkViewHelper.php line 109
Updated by Christian Hackl over 4 years ago
- Subject changed from fluid f:widget.link don't work anymore to fluid f:widget.link - f:widget.uri don't work anymore
Updated by Claus Due about 4 years ago
- Status changed from New to Needs Feedback
This might be a problem with an override of this particular widget, namely the "initiateSubRequest" method which should convert the incoming request to a WidgetRequest, which is the only type of request that has the getArgumentPrefix method.
It might also be caused by using f:widget.link outside of a widget context, which is not supported (you cannot generate a link to a widget action outside of the context of that widget).
If it can be confirmed that the latter is the cause of the problem we can change this issue to become a request for a specific error message when the ViewHelper is not used within a widget context.
If it is the first case then the issue would be closed as "caused by third party".
Updated by Oliver Hader over 2 years ago
- Related to Task #92529: Remove fluid widgets added
Updated by Oliver Hader over 2 years ago
- Status changed from Needs Feedback to Closed
All fluid widgets have been removed in TYPO3 v11.0 - see https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/11.0/Breaking-92529-AllFluidWidgetFunctionalityRemoved.html