FluidTYPO3 / vhs

TYPO3 extension VHS: Fluid ViewHelpers
https://fluidtypo3.org
Other
190 stars 229 forks source link

Fluid PageViewHelper error since vhs 6.1.0 : uriBuilder is null #1766

Closed itekne closed 2 years ago

itekne commented 2 years ago

Hello,

Since vhs 6.1.0, Fluid PageViewHelper throws an error as shown in the screenshot.

Capture d’écran 2022-05-03 à 10 34 11

Resolved by falling back to vhs 6.0.5

TYPO3 10.4.27

Thank you Thomas

NamelessCoder commented 2 years ago

Hi @itekne - can you tell a bit more about the context, most importantly where you are using the ViewHelper (content element, page template, inside v:render.uncache, etc.)?

itekne commented 2 years ago

Hi @NamelessCoder ^^

Thanks Claus pour your quick answer. I just tested the thing and the context is : in a page template, a v:render.uncache of a partial containing a f:security.ifAuthenticated with a f:link.page inside. If I remove the v:render.uncache, everything works again.

Cheers Thomas

Ceremony64 commented 2 years ago

I can confirm this issue. It seems like it is unable to get a uriBuilder, as the request is basically lost in the uncached variant of f:render.

f:render: image

v:render.uncache: image

Ceremony64 commented 2 years ago

Seems to work again with 6.1.2. Likely fixed with commit 0b5b8f3d33f0b27cbd2d1b749306d296b7421a99

Thanks @NamelessCoder !