Zend Framework

Adapter Zend_File_Transfer_Adapter_Http does not extend Zend_File_Transfer_Adapter

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major 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.

Activity

Hide
Thomas Weidner added a comment -

Fixed with r21202

Show
Thomas Weidner added a comment - Fixed with r21202

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: