Bug #57815
Invalid resources are saved in the persistent resources folder
Status: | New | Start date: | 2014-04-10 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | - | % Done: | 0% |
|
Category: | Resource | |||
Target version: | - | |||
PHP Version: | Complexity: | |||
Has patch: | No | Affected Flow version: | Flow 2.0.0 |
Description
I have a file type validator for a property of type \TYPO3\Flow\Resource\Resource.
The error message is shown in the front end, for example, that a zip file was uploaded when the file should be jpg or png.
But flow has also moved the file to the resources folder.
Should flow do this if the validator added an error in validation? Am I to remove this myself? Or is this a bug?