On 18.01.2011, at 15:33, Bernhard Schussek wrote:

>> So from the POV of the form instance, a validation error on a property that 
>> isnt associated to a field just makes the isValid() return false, but it has 
>> no reference of this validation error anywhere?
> 
> No, they are (should be) attached to the first field found when
> traversing the property path upwards. This usually will be the form,
> i.e. the error will be a "global" error.
> 
> Your feature request absolutely makes sense. I have added it to my TODO list.


I thought about this a bit. Obviously this needs to be configured somewhere:
1) in the form class
2) in the object being validated

I tend to think that 2) is the better place for this initially, but I am not 
sure really. But once we figure out where to configure this, I do not see what 
would make this hard to implement, or am I missing something?

regards,
Lukas Kahwe Smith
[email protected]



-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to