Issues

ZF-9231: Adapter Zend_File_Transfer_Adapter_Http does not extend Zend_File_Transfer_Adapter

Issue Type: Bug Created: 2010-02-22T00:58:02.000+0000 Last Updated: 2010-02-24T14:23:50.000+0000 Status: Resolved Fix version(s): - 1.10.3 (01/Apr/10)

Reporter: Philippe Gibert (darklink) Assignee: Thomas Weidner (thomas) Tags: - Zend_File_Transfer

Related issues: Attachments:

Description

The issue ZF-8668 notified in version 1.9.6, has not been corrected in the current version (on the SVN repository)

When instantiating an instance of Zend_File_Transfer, the following exception is thrown:

=> Adapter Zend_File_Transfer_Adapter_Http does not extend Zend_File_Transfer_Adapter

The error is in the Zend_File_Transfer class at line 77 when testing the class compatibility : {quote} if (!$this->_adapter[$direction] instanceof Zend_File_Transfer_Adapter){ require_once 'Zend/File/Transfer/Exception.php'; throw new Zend_File_Transfer_Exception("Adapter " . $adapter . " does not extend Zend_File_Transfer_Adapter"); } {quote}

=> Zend_File_Transfer_Adapter doesn't exist. replace with Zend_File_Transfer_Adapter_Abstract

Thanks for all.

Comments

Posted by Thomas Weidner (thomas) on 2010-02-24T14:23:50.000+0000

Fixed with r21202

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