Issue Type: Bug Created: 2010-11-01T07:29:27.000+0000 Last Updated: 2012-11-20T21:38:14.000+0000 Status: Open Fix version(s): Reporter: Maksym Sliesarenko (sm) Assignee: None Tags: - Zend_File_Transfer
Related issues: Attachments:
Validators for different files overriding each other.
For example I want to upload 2 files: pdf and an image.
<pre class="highlight"> $uploader = new Zend_File_Transfer_Adapter_Http(); $uploader->addValidator('Zend_Validate_File_Extension', false, array('pdf'), 'myfile1'); $uploader->addValidator('Zend_Validate_File_Extension', false, array('jpg'), 'myfile2'); $uploader->receive('myfile1'); $uploader->getMessages();//File 'myfile1' has a false extension
They both have last validator - jpg
Posted by Maksym Sliesarenko (sm) on 2010-11-01T07:31:22.000+0000
Posted by Ramon Henrique Ornelas (ramon) on 2010-11-01T17:30:17.000+0000
Assigned component and auto assigned to mantainer
Have you found an issue?
See the Overview section for more details.