ZF-5652: adding filters in Zend_File_Transfer

Issue Type: Bug Created: 2009-01-29T05:10:57.000+0000 Last Updated: 2009-01-29T07:27:07.000+0000 Status: Resolved Fix version(s): Reporter: Kamil Nowakowski (kamiln) Assignee: Thomas Weidner (thomas) Tags: - Zend_File_Transfer

Related issues: - ZF-5126



<pre class="highlight">
$adapter = new Zend_File_Transfer_Adapter_Http(array('ignoreNoFile' => true));
$adapter->addFilter('Rename', array('target' => Zend_Registry::get('config')->files.'note_'.$id,'overwrite' => true), 'note')
    ->addFilter('Rename', array('target' => Zend_Registry::get('config')->files.'terms_'.$id,'overwrite' => true), 'terms');

There is a note in manual Note that even though setting the same filter multiple times is allowed, doing so can lead to issues when using different options for the same filter.

It is a bug you cant add the same filter or validator diffrebt files with diffrent options , you cant manpulate multiple files with this


Posted by Thomas Weidner (thomas) on 2009-01-29T06:50:59.000+0000

As you mentioned it is clearly described in the manual. So it is not a bug, it's a feature improvement.

And it duplicates an existing issue ZF-5126 where this improvement is described.

Posted by Kamil Nowakowski (kamiln) on 2009-01-29T07:27:06.000+0000

Ok thanks for the info

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.