Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.10.1
-
Fix Version/s: 1.10.3
-
Component/s: Zend_File_Transfer
-
Labels:None
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 :
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");
}
=> Zend_File_Transfer_Adapter doesn't exist.
replace with Zend_File_Transfer_Adapter_Abstract
Thanks for all.
Fixed with r21202