ZF-9330: Setting translator for elements and validators

Issue Type: Bug Created: 2010-03-04T11:11:07.000+0000 Last Updated: 2010-04-04T03:05:13.000+0000 Status: Closed Fix version(s): Reporter: Erik Wijdemans (mindexpander) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_Form

Related issues: - ZF-9275



If a form is validated, the translator of the form will be passed through all elements and all validators of the elements.

Specifying a different translator for an element or a validator of an element will therefor be overridden and will result in the translator being discarded for individual validators and formelements.

In my opinion there should be a check to determine if a translator has already been set for individual formelements or validators rather than just "blindly" passing the translator of the form onto it's children.


Posted by Christian Albrecht (alab) on 2010-03-18T08:27:16.000+0000

Fixed in [ZF-9364]

Posted by Christian Albrecht (alab) on 2010-03-25T13:24:00.000+0000

Reopened because suggested fix is not reviewed and committed yet.

Posted by Christian Albrecht (alab) on 2010-04-03T05:16:40.000+0000

Rob Allen resolved ZF-9364

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.