Issues

ZF-11285: Problem with translator on Zend_File_Transfer_Adapter_Http

Issue Type: Bug Created: 2011-04-13T21:16:40.000+0000 Last Updated: 2011-08-25T21:46:29.000+0000 Status: Resolved Fix version(s): - Next Major Release ()

Reporter: Artur Clemente (arturclemente) Assignee: Thomas Weidner (thomas) Tags: - Zend_File_Transfer

  • validating

Related issues: Attachments:

Description

On Adapter HTTP don't get the translator when I submit form with no files. The original class Zend_File_Transfer_Adapter_Http on line 138 and 139:

<pre class="highlight">
$validator->setFiles($temp)
          ->isValid($files, null);

I think need to change for this:

<pre class="highlight">
$validator->setTranslator($this->getTranslator())
          ->setFiles($temp)
          ->isValid($files, null);

Comments

Posted by Thomas Weidner (thomas) on 2011-08-25T21:46:29.000+0000

Fixed in ZF2 with GH-300

Have you found an issue?

See the Overview section for more details.

Copyright

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

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

Contacts