From 9a6807487891fd31ed3038a65c3811ddb550dccd Mon Sep 17 00:00:00 2001 From: Benjamin Eberlei Date: Fri, 8 Jul 2011 14:42:15 +0200 Subject: [PATCH] Clarify possible problem --- UPGRADE_TO_2_1 | 1 + 1 file changed, 1 insertion(+) diff --git a/UPGRADE_TO_2_1 b/UPGRADE_TO_2_1 index 8b289ecd4..f42244493 100644 --- a/UPGRADE_TO_2_1 +++ b/UPGRADE_TO_2_1 @@ -9,6 +9,7 @@ The EntityRepository now has an interface Doctrine\Common\Persistence\ObjectRepo The annotation reader was heavily refactored between 2.0 and 2.1-RC1. In theory the operation of the new reader should be backwards compatible, but it has to be setup differently to work that way: + // new call to the AnnotationRegistry \Doctrine\Common\Annotations\AnnotationRegistry::registerFile('/doctrine-src/lib/Doctrine/ORM/Mapping/Driver/DoctrineAnnotations.php'); $reader = new \Doctrine\Common\Annotations\AnnotationReader();