Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Viewhelper LinkViewhelper in VHS 7.1.0 with TYPO3 12.4.28 #1943

Open
julebbb opened this issue Mar 20, 2025 · 0 comments
Open

BUG: Viewhelper LinkViewhelper in VHS 7.1.0 with TYPO3 12.4.28 #1943

julebbb opened this issue Mar 20, 2025 · 0 comments

Comments

@julebbb
Copy link

julebbb commented Mar 20, 2025

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:

  1. Create a link viewhelper in your html : <v:page.link pageUid="{uid}"/>
  2. See error

Expected behavior
Create a link in the frontend like it happens in older version of VHS example version 7.0.7

Screenshots

Image

Image

Additional context
Typo3 use : 12.4.28 and 12.4.27 in composer mode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant