Issues

ZF-6106: Zend_File_Transfer_Adapter_Abstract::isValid return fileUploadErrorFileNotFound for mutliple file uploads

Issue Type: Bug Created: 2009-03-23T07:46:04.000+0000 Last Updated: 2009-03-24T13:37:41.000+0000 Status: Resolved Fix version(s): - 1.8.0 (30/Apr/09)

Reporter: Vladimir Minakov (minakov) Assignee: Thomas Weidner (thomas) Tags: - Zend_File_Transfer

Related issues: Attachments:

Description

Zend_File_Transfer_Adapter_Http::prepareFiles create virtual file for mutliple file uploads elements {quote} [fileupload_0] => Array ( [name] => budget-icon-48.png [options] => Array ( [ignoreNoFile] => [useByteString] => 1 [magicFile] => )

        [validated] => 
        [received] => 
        [filtered] => 
        [type] => image/png
        [tmp_name] => C:\\WINDOWS\\Temp\\php313.tmp
        [error] => 0
        [size] => 5829
    )

[fileupload] => Array
    (
        [multifiles] => Array
            (
                [0] => fileupload_0_
            )

    )

{quote}

so, in line 627, please replace $tocheck = $key; to continue;

Comments

Posted by Thomas Weidner (thomas) on 2009-03-23T08:27:00.000+0000

The given code does not exist within trunk, nor is the described behaviour reproducable. The given file has only 430 lines of code.

Some lines of your code showing your problem would be great to see where your issue is.

Posted by Thomas Weidner (thomas) on 2009-03-23T08:28:59.000+0000

Reverting priority as such an issue does not stop the application to work.

Posted by Vladimir Minakov (minakov) on 2009-03-23T10:01:51.000+0000

http://framework.zend.com/code/browse/…

don't work: $adapter = new Zend_File_Transfer_Adapter_Http(); if ($adapter->isValid() === false) { ....; }

work: $adapter = new Zend_File_Transfer_Adapter_Http(); if ($adapter->isValid('mutliple_file_fieldname') === false) { ....; }

Posted by Vladimir Minakov (minakov) on 2009-03-23T10:03:42.000+0000

Posted by Thomas Weidner (thomas) on 2009-03-24T13:37:32.000+0000

Within the testbed there is an empty error returned and not the error you wrote. Has been fixed within trunk r14466

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts