[2.0] Fixed issue with classmetadata cache that was saving the entire inheritance on the same cacheKey.
This commit is contained in:
parent
b6cbcb855b
commit
dc1f61c0e3
@ -149,7 +149,9 @@ class ClassMetadataFactory
|
||||
$this->_loadedMetadata[$realClassName] = $cached;
|
||||
} else {
|
||||
foreach ($this->_loadMetadata($realClassName) as $loadedClassName) {
|
||||
$this->_cacheDriver->save($cacheKey, $this->_loadedMetadata[$realClassName], null);
|
||||
$this->_cacheDriver->save(
|
||||
"$loadedClassName\$CLASSMETADATA", $this->_loadedMetadata[$realClassName], null
|
||||
);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user