I'm currently trying to move the code I developed in Symfony2 PR3 to
the git version of the sandbox but it seemd annotations for Entities
no longer work.

I've tracked down the problem to a problem in the generated cache/
*devDebugProjectContainer.php class in the function
getDoctrine_Orm_MetadataDriver_Annotation_ReaderService().

In PR3 the default Annotation Namespace is set like this:

$instance->setDefaultAnnotationNamespace('Doctrine\\ORM\\Mapping\\');

however in the current git version this code has been replaced with
this:

$instance->setAnnotationNamespaceAlias('Doctrine\\ORM\\Mapping\\',
'orm');

The result is that the annotations parser searches for the class
"Entity" rather than the correct "Doctrine\ORM\Mapping\Entity".

Unfortunately I don't know how this class is generated so I don't know
how to fix this properly.
Any ideas?

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