2010/11/25 Gustavo Adrian <comfortablynum...@gmail.com>: > The problem is if I just use @IpAddress on that field and I don't enter a > value, it will complain because is not a valid IP either.
All validators except NotNull and NotBlank should treat NULL values (or empty values, in your case) as valid. Sorry, this is not documented yet. > Then, it would always return true if you enter a string like > "false" or "true". Is this ok or it's handled different on a file that I > didn't saw yet? Oh, this could be a bug. Can you file a ticket please? Bernhard -- Software Architect & Engineer Blog: http://webmozarts.com Twitter: http://twitter.com/webmozart -- 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 users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en