Issues

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

Change the reference from Zend_File_Transfer_Adapter to Zend_File_Transfer_Adapter_Abstract.

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

Closing in lieu of ZF-8869.

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

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. :)

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