You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have checked that the bug exists in the dev-development branch Yes or no.
Yes
I have checked that there are no already open issues or recently closed issues about this bug Yes or no.
Yes
Describe the bug
When we use the viewhelper <v:page.link pageUid="{uid}"/> it return a error occurred in frontend.
Error return : Exception: TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilder::setRequest(): Argument #1 ($request) must be of type TYPO3\CMS\Extbase\Mvc\RequestInterface, TYPO3\CMS\Core\Http\ServerRequest given, called in /var/www/composer/sit_services/packages/vhs/Classes/ViewHelpers/Page/LinkViewHelper.php on line 236, in file /var/www/composer/sit_services/vendor/typo3/cms-frontend/Classes/ContentObject/ContentObjectRenderer.php:722
To Reproduce
Steps to reproduce the behavior:
Create a link viewhelper in your html : <v:page.link pageUid="{uid}"/>
See error
Expected behavior
Create a link in the frontend like it happens in older version of VHS example version 7.0.7
Screenshots
Additional context
Typo3 use : 12.4.28 and 12.4.27 in composer mode
The text was updated successfully, but these errors were encountered:
I have seen this bug, too in 12.4.28.
We use the ViewHelper in a partial on the top level FLUIDTEMPLATE object, so outside of any extbase plugin. One workaround (which I have not yet tested, though) could be to replace <v:page.link pageUid="{uid}" /> with <f:link.page pageUid="{uid}"><v:page.info pageUid="{uid}" field="title"/></f:link.page>. I believe this should do roughly the same thing.
I have checked that the bug exists in the
dev-development
branchYes or no.
Yes
I have checked that there are no already open issues or recently closed issues about this bug
Yes or no.
Yes
Describe the bug
When we use the viewhelper <v:page.link pageUid="{uid}"/> it return a error occurred in frontend.
Error return :
Exception: TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilder::setRequest(): Argument #1 ($request) must be of type TYPO3\CMS\Extbase\Mvc\RequestInterface, TYPO3\CMS\Core\Http\ServerRequest given, called in /var/www/composer/sit_services/packages/vhs/Classes/ViewHelpers/Page/LinkViewHelper.php on line 236, in file /var/www/composer/sit_services/vendor/typo3/cms-frontend/Classes/ContentObject/ContentObjectRenderer.php:722
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Create a link in the frontend like it happens in older version of VHS example version 7.0.7
Screenshots
Additional context
Typo3 use : 12.4.28 and 12.4.27 in composer mode
The text was updated successfully, but these errors were encountered: