From 3eff1d1c5b6fa994dea131ef2beb2f1f5589628c Mon Sep 17 00:00:00 2001 From: guilhermeblanco Date: Wed, 3 Mar 2010 14:39:49 +0000 Subject: [PATCH] [2.0] Fixed issue with classmetadata cache that was saving the entire inheritance on the same cacheKey. --- lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php b/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php index 0f4ff19e5..dc5ec7582 100644 --- a/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php +++ b/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php @@ -150,7 +150,7 @@ class ClassMetadataFactory } else { foreach ($this->_loadMetadata($realClassName) as $loadedClassName) { $this->_cacheDriver->save( - "$loadedClassName\$CLASSMETADATA", $this->_loadedMetadata[$realClassName], null + "$loadedClassName\$CLASSMETADATA", $this->_loadedMetadata[$loadedClassName], null ); } }