vhs icon indicating copy to clipboard operation
vhs copied to clipboard

Fix Uncache viewhelper outside of extbase

Open Ceremony64 opened this issue 1 year ago • 1 comments
trafficstars

Fixes #1894 and a Typo3 v10 regression that came with the release of 7.0.0

Ceremony64 avatar Feb 13 '24 11:02 Ceremony64

Fixes errors in our TYPO3 v12 projec. @NamelessCoder It would be great if this could be merged

linawolf avatar Jun 11 '24 08:06 linawolf

Thanks for the pull request! However, as you can see from the PHPStan reported problems, changing the request resolving method reveals several other ViewHelpers which would not be compatible with a returned ServerRequest.

So I rolled all of that into a combined fix which fixes this particular error plus all potential errors coming from use outside of an Extbase context.

See https://github.com/FluidTYPO3/vhs/commit/28768f313cf4c853aa08fca8b85dbe4b2d9e66d1.

NamelessCoder avatar Jul 18 '24 15:07 NamelessCoder