Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.0.0ALPHA1
-
Fix Version/s: 1.0.0ALPHA1
-
Component/s: None
-
Labels:None
Description
When defining a custom repository in an annotation the AnnotationDriver gives an Fatal error on line 105
Call to a member function setCustomRepositoryClass() on a non-object in /data/sites/lib/Doctrine/ODM/MongoDB/Mapping/Driver/AnnotationDriver.php on line 105
replacing:
$metadata->setCustomRepositoryClass($documentAnnot->repositoryClass);
for:
$class->setCustomRepositoryClass($documentAnnot->repositoryClass);
solves this issue..
Cheers, Onno