Project

General

Profile

Actions

Bug #72890

closed

FileAllowedTypesValidator Error

Added by Samuel Heinz over 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Form Framework
Target version:
Start date:
2016-01-22
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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...


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #73618: EXT:form - Validator for allowed file types should ignore whitespaces in types listClosed2016-02-23

Actions
Actions

Also available in: Atom PDF