flow-development-collection icon indicating copy to clipboard operation
flow-development-collection copied to clipboard

BUG: Fluid 2.9.1 causes proxy compilation error in testing context

Open mhsdesign opened this issue 2 years ago • 3 comments

Method TYPO3Fluid\Fluid\Core\Compiler\TemplateCompiler::__construct() does not exist

it only appears when running the functional tests (of flow for example) flow help works and also the frontend works.

pinning it to "typo3fluid/fluid": "2.8.0", removes this problem

so something changed in 2.9.1

@dlubitz could also confirm this

see also slack: https://neos-project.slack.com/archives/C050KKBEB/p1686860547665219

tested on neos and flow 9.0-dev

mhsdesign avatar Jun 16 '23 07:06 mhsdesign

They simply removed the __constructor 🤷‍♂️ https://github.com/TYPO3/Fluid/compare/2.8.0...2.9.1#diff-2c7c7fa9107b49ca699c16aec70b902436177808789afabfbb5199daa5a629f0L58

dlubitz avatar Jun 16 '23 07:06 dlubitz

Steps to reproduce:

composer update # with "typo3fluid/fluid": "2.8.0"
./flow flow:cache:flush --force
./flow flow:cache:warmup
composer update # with "typo3fluid/fluid": "2.9.1"
./flow flow:cache:flush

To fix this you can run

./flow flow:cache:flush --force

dlubitz avatar Jun 16 '23 08:06 dlubitz

I guess this is "resolved" with https://github.com/neos/flow-development-collection/pull/3038 !?

bwaidelich avatar Sep 03 '24 11:09 bwaidelich