Le 05/04/2011 19:35, Donald a écrit :
Hi,

I have run into a problem that I can't figure out how to fix. I was
using the validation framework to test that certain values were being
correctly flagged as invalid, and it was working fine in PR9, but
after updating to PR10, I'm getting errors.

Here's a small test that can recreate my problem:

namespace Test;

use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;

class Object {

   /**
    * @validation:NotNull()
    */
   public $name;
}
The namespace for Validator annotations is not @assert: instead of @validation:
see the UPDATE file in the Symfony repository

--
Christophe | Stof

--
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

Reply via email to