Neos Form FileUpload don't work


(Patric Eckhart) #1

Hey guys!

I have integrated an mailform with

    type: 'Neos.Form:FileUpload'
    identifier: file1
    label: 'file'
    properties:
      allowedExtensions: ['pdf', 'doc']

Without a file it works to send, but when I choose a file I get the following error:

An exception was thrown while Neos tried to render your page
Warning: htmlspecialchars() expects parameter 1 to be string, object given in /var/www/www2.mydomain.at/Data/Temporary/Development/Cache/Code/Fluid_TemplateCache/_action__7bc34d44aa4f06cf92443a5fe590fd67e07318da.php line 341
pageNeos.Neos:Page/ bodyNeos.Fusion:Template/ content/ mainNeos.Neos:PrimaryContent/ defaultNeos.Fusion:Matcher/ rendererNeos.Neos:ContentCollection/ contentNeos.Neos:ContentCollectionRenderer/ itemRendererNeos.Neos:ContentCase/ defaultNeos.Fusion:Matcher/ elementMySite.Website:Container/ contentItemsNeos.Neos:ContentCollection/ contentNeos.Neos:ContentCollectionRenderer/ itemRendererNeos.Neos:ContentCase/ defaultNeos.Fusion:Matcher/ elementNeos.NodeTypes:FormNeos.NodeTypes:Form/


(Daniel H) #2

Hey there,
have you found a solution to this problem?
Thanks in advance,
sweetDiscovery


(Patric Eckhart) #3

Hey Daniel!

I’m using the Formbuilder (https://github.com/neos/form-builder), so I don’t have a solution because I did not care anymore.

Sry.
Pat