Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.6.1
-
Fix Version/s: 1.6.1
-
Component/s: Zend_File_Transfer
-
Labels:None
Description
bug containing revision: 11362
You'll still get errors on uploading files with Zend_Form_Element_File although the field is not required. The cause of the problem is, that the line 162 in Zend_Form_Element_File.php $adapter->setOptions(array('ignoreNoFile' => true)); does not take effect.
Solution: (Zend_File_Transfer_Adapter_Abstract class on line 476)
old:
$this->_options += $options;
fixed:
$this->_options = $options + $this->_options;
Some new features have been added.
Mentioned behaviour (and codelines) can not be found.