NamelessCoder / typo3-cms-fluid-precompiler-module

TYPO3 CMS Fluid compiler extension
18 stars 3 forks source link

EXT:install Fluid namespace not found #2

Closed romm closed 7 years ago

romm commented 7 years ago

TYPO3 8.7.2 EXT:cms_fluid_precompiler_module 1.0.0

When compiling all extensions with additional reports enabled, an exception is thrown that stops the compilation:

After some digging, it seems to come from Step.html from EXT:install. The i namespace seems not to be resolved.

Fluid parse error in template , line 1 at character 1. Error: Unkown Namespace: <i:constant name="TYPO3_version" /> (error code 0). Template source chunk: 

Compiling only EXT:install leads to the same error.

I don't know how new Fluid Standalone usage in TYPO3 v8+ adds default namespaces, but it seems not to be done correctly in this particular situation.

The source point error from the extension is FluidPrecompilerService:73.

NamelessCoder commented 7 years ago

See https://review.typo3.org/#/c/53375/ which came about because of this. Once that's merged and hopefully backported, that last template will compile. I'm not even sure it's used :)

romm commented 7 years ago

Hehe indeed that was the hotfix I also did on my dev installation. :)