You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
to autoload.php. For some reason the registered custom autoload function is not triggered and the annotation classes are not loaded.
In AnnotationDriver::loadMetadataForClass():
$this->reader->getClassAnnotations($reflClass) returns an incomplete class.
This is happens, because the FQN of the Annotation is mapped to vendor/doctrine-mongodb-dm/lib/Doctrine/ODM/MongoDB/Mapping/Annotations/xxxxAnnotationClassNamexxxxx.php.
whereas the annotation class definitions are in a single file!
The text was updated successfully, but these errors were encountered:
Hi,
if you setup mongodb-odm with symfony2 rc4 the annotation classes are not correctly autoloaded even you add the
Doctrine\ODM\MongoDB\Mapping\Driver\AnnotationDriver::registerAnnotationClasses();
to autoload.php. For some reason the registered custom autoload function is not triggered and the annotation classes are not loaded.
In AnnotationDriver::loadMetadataForClass():
$this->reader->getClassAnnotations($reflClass) returns an incomplete class.
This is happens, because the FQN of the Annotation is mapped to vendor/doctrine-mongodb-dm/lib/Doctrine/ODM/MongoDB/Mapping/Annotations/xxxxAnnotationClassNamexxxxx.php.
whereas the annotation class definitions are in a single file!
The text was updated successfully, but these errors were encountered: