neos / form-fusionrenderer

Flow Form Framework preset for Fusion based Form rendering
MIT License
8 stars 16 forks source link

Exception thrown on form render #3

Closed bweinzierl closed 7 years ago

bweinzierl commented 7 years ago

An Exception is thrown as soon as i switch from default preset to FusionPreset in the From Editor (Neos Backend)

".../Packages/Neos/Neos.Fusion/Resources/Private/Fusion" is no directory.

I tracked it back to $formRuntime->render(); inside of FormImplementation->evaluate()

bwaidelich commented 7 years ago

I wonder why it expects the package to be installed in Packages/Neos - is it installed there? It should be in Packages/Application by default

bweinzierl commented 7 years ago

It is installed in the default location (Packages/Application). That is what puzzles me to. If your test-setup works (with fusion preset selected in node) i will debug it further... than it has to be something in my installation.

bweinzierl commented 7 years ago

I looked again and there is a wrong path specified in: FusionFormRenderer.php Line 51

FLOW_PATH_PACKAGES . 'Neos/Neos.Fusion/Resources/Private/Fusion',

should be:

FLOW_PATH_PACKAGES . 'Application/Neos.Fusion/Resources/Private/Fusion',

bwaidelich commented 7 years ago

@bweinzierl OK, interesting.. In my case (dev-master) the Fusion package is installed in Packages/Neos. I'll look into it