[TYPO3-english] Re: How to handle file uploads in the Backend ?

mardz iop 00marduk at gmail.com
Tue Mar 21 17:26:02 CET 2017


Thanks Florian, I did as you suggested and added a regular form in the fluid template like this:


<f:form action="create"  enctype="multipart/form-data"  name="newMaterial" object="{newMaterial}">

   <f:form.upload property="image" >
        <f:if condition="{resource}">
            <f:image image="{resource}" alt="" width="50"/>
        </f:if>
    </f:form.upload>

    <f:form.submit value="Create new" />


But I still get the exact same error:

#1297759968: Exception while property mapping at property path "image.error": No file reference (sys_file_reference) was found for given UID: "4"


More information about the TYPO3-english mailing list