[fw-general] Bug in Zend_File_transfer

2009-01-29 Thread kamil
|For example $upload = new Zend_File_Transfer(); $||upload ||-setDestination('some path') $upload-addFilter('Rename', 'C:\new\n1', 'file1') -addFilter('Rename', 'C:\new\w1', 'file2'); This is only example but only works one the last filter I have problem adding the same filter and

Re: [fw-general] Bug in Zend_File_transfer

2009-01-29 Thread kamil
kamil pisze: |For example $upload = new Zend_File_Transfer(); $||upload ||-setDestination('some path') $upload-addFilter('Rename', 'C:\new\n1', 'file1') -addFilter('Rename', 'C:\new\w1', 'file2'); This is only example but only works one the last filter I have problem adding the same

Re: [fw-general] Bug in Zend_File_transfer

2009-01-29 Thread Thomas Weidner
Just to note... Your reproduction example can impossibly work. It throws an exception at initiation. Greetings Thomas Weidner - Original Message - From: kamil luznyg...@poczta.onet.pl To: fw-general@lists.zend.com Sent: Thursday, January 29, 2009 1:56 PM Subject: [fw-general] Bug

Re: [fw-general] Bug in Zend_File_transfer

2009-01-29 Thread kamil
: [fw-general] Bug in Zend_File_transfer |For example $upload = new Zend_File_Transfer(); $||upload ||-setDestination('some path') $upload-addFilter('Rename', 'C:\new\n1', 'file1') -addFilter('Rename', 'C:\new\w1', 'file2'); This is only example but only works one the last filter I have

[fw-general] Bug with Zend_File_Transfer

2008-09-19 Thread Jacky Chen
it seem that each validation for the file elements in the zend_form would validate all of the file elements in the form.it means that if there have two file elements in the form,says A and B. So isValid() for the element A is called,it would validate A and B,not just A. So if i want to upload two

Re: [fw-general] Bug with Zend_File_Transfer

2008-09-19 Thread Jacky Chen
://www.thomasweidner.com - Original Message - From: Jacky Chen [EMAIL PROTECTED] To: fw-general@lists.zend.com Sent: Friday, September 19, 2008 8:47 AM Subject: [fw-general] Bug with Zend_File_Transfer it seem that each validation for the file elements in the zend_form would validate all of the file

[fw-general] Bug with Zend_File_Transfer

2008-09-11 Thread Jacky Chen
Hi there, there is a bug in the Zend_File_Transfer_Abstract::setOptions() , the code in the setOptions() as bellow: if (is_array($options)) { $this-_options += $options; } Maybe the following code should it be: if (is_array($options)) { $this-_options = $options + $this-_options;

Re: [fw-general] Bug with Zend_File_Transfer

2008-09-11 Thread Thomas Weidner
No, actually it should not. Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: Jacky Chen [EMAIL PROTECTED] To: fw-general@lists.zend.com Sent: Thursday, September 11, 2008 9:32 AM Subject: [fw-general] Bug