Issue Bug Closed

#72890FileAllowedTypesValidator Error

Samuel Heinz 01/22/16, 13:21 updated 10/21/17, 17:45

Description

Form File Upload validation results in an error:

Form configuration:

rules {
    6 = fileallowedtypes
    6 {
        showMessage = 1
        message = (%allowedTypes)
        error = Bitte nur PDF-Dateien
        types = application/pdf
        element = cv
    }
}

System Log:
_Core: Error handler (FE): PHP Warning: implode(): Invalid arguments passed in /typo3_src-7.6.2/typo3/sysext/form/Classes/Domain/Validator/FileAllowedTypesValidator.php line 72_

Form has been successfully submitted and also with pdf in the email…

Reviews 2