Issue Type: Bug Created: 2008-12-09T12:57:21.000+0000 Last Updated: 2009-06-29T20:28:48.000+0000 Status: Closed Fix version(s): Reporter: Michael Kliewe (mkliewe) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_Form
Related issues: - ZF-5937
Attachments: - Zend_Form_Element_Multi.patch
Hello,
disabling the translator in Zend_Form_Element_Multi doesn't work as intended. If I disable translation, the Options are not added to the element! Perhaps this bug has been introduced with this patch: http://framework.zend.com/issues/browse/ZF-3457
See here:
public function addMultiOption($option, $value = '') ....... if (!$this->_translateOption($option, $value)) { $this->options[$option] = $value; } ......
protected function _translateOption($option, $value) { if ($this->translatorIsDisabled()) { return true; } ......
If I fix it (return false if translator is disabled), it works again.
Posted by Martin Winkel (storeman) on 2009-01-07T03:04:37.000+0000
I agree, this is a serious bug and should be resolved for the next release. Your solution works fine, thanks!
Posted by Menno Dekker (mdekker) on 2009-04-21T05:42:23.000+0000
Took me some hours to get to this bug... please fix it! (fixed it in my own install but I know I will forget about this when I update :p)
Posted by Menno Dekker (mdekker) on 2009-04-22T00:02:24.000+0000
Maybe this helps to get this fix in the next release :)
Posted by Andras Gyomrey (andras) on 2009-05-23T12:54:55.000+0000
Hello,
I was gonna report this a half a year ago, but this was already posted. I almost went crazy when I upgraded to 1.8.1, but then i remembered the bug. ¿When it's gonna be fixed?
Thanks a lot!
Posted by Mike Willbanks (digitalstruct) on 2009-06-18T21:09:56.000+0000
This has been completed in ZF-5937.