ZF-3376: $element->setDecorators($element->getDecorators()) not works

Issue Type: Bug Created: 2008-06-03T09:53:02.000+0000 Last Updated: 2008-09-02T10:39:12.000+0000 Status: Resolved Fix version(s): - 1.6.0 (02/Sep/08)

Reporter: F LAdislav (bloom) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_Form

Related issues: Attachments:


$element->setDecorators($element->getDecorators()) not works


Posted by Matthew Weier O'Phinney (matthew) on 2008-06-03T23:22:41.000+0000

Could you indicate what does not work about it, please? What errors are presented? What expectations are not met?

Posted by F LAdislav (bloom) on 2008-06-04T22:30:29.000+0000

I expect this line of code to has no effect on element decorators. Instead, some decorators are lost. It seems it does not get decorators aliases.

Posted by Matthew Weier O'Phinney (matthew) on 2008-07-25T08:02:07.000+0000

This was corrected with some refactoring done for 1.6.0; you can now pass the results of getDecorators() to setDecorators(), and all aliasing is preserved. A test has been added to verify this.

Test added in trunk and merged to 1.6 release branch.

Posted by Wil Sinclair (wil) on 2008-09-02T10:39:12.000+0000

Updating for the 1.6.0 release.

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.