ZF-8668: Zend_File_Transfer: Adapter does not extend Zend_File_Transfer_Adapter

Issue Type: Bug Created: 2009-12-30T05:31:18.000+0000 Last Updated: 2010-03-14T00:10:18.000+0000 Status: Resolved Fix version(s): - 1.10.3 (01/Apr/10)

Reporter: Ken Stanley (dohpaz) Assignee: Thomas Weidner (thomas) Tags: - Zend_File_Transfer

Related issues: - ZF-8669

Attachments: - ZF-8668.patch


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

Zend_File_Transfer_Exception: Adapter Zend_File_Transfer_Adapter_Http does not extend Zend_File_Transfer_Adapter' in /path/to/Zend/File/Transfer.php on line 56

As of ZF 1.9.6, there is no Zend_File_Transfer_Adapter. Instead, the adapters need to extend Zend_File_Transfer_Adapter_Abstract. The attached patch fixes the condition and exception message to reflect this.


Posted by Ken Stanley (dohpaz) on 2009-12-30T05:33:23.000+0000

Change the reference from Zend_File_Transfer_Adapter to Zend_File_Transfer_Adapter_Abstract.

Posted by Ken Stanley (dohpaz) on 2009-12-30T06:42:29.000+0000

This proposed patch is replaced by the patch in ZF-8869.

Posted by Ken Stanley (dohpaz) on 2009-12-30T06:43:08.000+0000

Closing in lieu of ZF-8869.

Posted by Thomas Weidner (thomas) on 2009-12-30T07:13:01.000+0000

Please don't close issues where you are wether the maintainer nor the component lead.

Posted by Ken Stanley (dohpaz) on 2009-12-30T07:27:51.000+0000

Duly noted. In the meantime, would you close this ticket on my behalf since ZF-8669 supersedes this issue. Going forward, I will be sure to be more thoughtful when creating patches. :)

Posted by Thomas Weidner (thomas) on 2010-03-14T00:10:18.000+0000

Closing as fixed since more than 2 weeks (r21201).

Have you found an issue?

See the Overview section for more details.


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