Yes, the enctype is "multipart/form-data" ... I've put a message out to zf-core mailing list. The issue that I've got a form with a Zend_Form_Element_File in it. But, other forms, without a Zend_Form_Element_File object post into it. So, the $_FILES array isn't there. The isValid() routine assumes $_FILES is set, ... inside Zend/Transfer/Files/Abstract.php ... the exact same error would happen if "multipart/form-data" were not set.
tfk wrote: > > On Thu, Mar 26, 2009 at 2:49 PM, swanpoint <[email protected]> wrote: >> >> In ZF version 1.7.5, there appears to be an unchecked reference to >> "$content['tmp_name']" at the following location: >> Zend/File/Transfer/Adapter/Abstract.php:589 >> >> I have a form with a Zend_Form_Element_File object in it and another form >> without this object (that accepts a primary key and posts it to the first >> form.) During execution of the isValid() method on the incoming data, the >> follow error gets emitted (which is annoying more than anything): >> >> "Undefined index: tmp_name" > > Does your <form /> include enctype="multipart/form-data" ? > > Till > > -- View this message in context: http://www.nabble.com/Undefined-index%3A--tmp_name-tp22722446p22728486.html Sent from the Zend Framework mailing list archive at Nabble.com.
