ZF-9330: Setting translator for elements and validators
Description
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.
Comments
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