neos / form-fusionrenderer

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

Formbuilder throws exception when selecting fusion preset #4

Closed bweinzierl closed 7 years ago

bweinzierl commented 7 years ago

Steps to recreate: Create a nodebased form and then select the fusion preset in the property inspector. Press apply.

Exception Thrown: Argument 3 passed to Neos\Form\FusionRenderer\Eel\Helper\FormHelper_Original::translate() must be of the type string, null given, called in /project/source/Data/Temporary/Development/Cache/Code/Flow_Object_Classes/Neos_Form_FusionRenderer_Eel_Helper_FormHelper.php on line 79

Thats because in line 72 "$defaultValue = $element->getLabel();" returns null.

bwaidelich commented 7 years ago

I still can't reproduce this with dev-master, but I change this anyways to support null