ZF-8668: Zend_File_Transfer: Adapter does not extend Zend_File_Transfer_Adapter
Description
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.
Comments
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).