Well, it looks like the error means exactly what it says it means. There
really isn't such a class called FileCacheReader as part of Doctrine Common.
The only classes that exist in that namespace are Annotation,
AnnotationException, AnnotationReader, Lexer, and Parser. FileCacheReader
doesn't seem to exist anywhere in any of the Doctrine libraries. However,
it's used by the FrameworkBundle and is needed for the
annotations.file_cache_reader service. Doctrine Common 2.0.x was still being
used.
I completely removed Doctrine Common, ran the vendors script again, and it
finally updated to 3.0.x. Unfortunately, now I'm getting the following
exception:
AnnotationException: [Syntax Error] Expected
Doctrine\Common\Annotations\DocLexer::T_IDENTIFIER, got 'True' at position
96 in property CFP\Bundle\AccountBundle\Entity\User::$birthday.
In my User entity I have the following:
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Validator\Constraints as Assert;
// ...
use CFP\Bundle\AccountBundle\Validator\Constraints\Birthday as Birthday;
// ...
/**
* @ORM\Column(name="birthday", type="date", nullable=true)
* @Assert\Date()
* @Birthday\True(groups="Registration")
*/
protected $birthday;
As far as I can tell, I'm following the right conventions for this.
--
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 [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-users?hl=en