Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

call wakeupReflection() after loadClassMetadata event has been dispatched #264

Closed
wants to merge 1 commit into from

2 participants

@julesbou

I'm closing it, fixed by this commit 1d46d2b

@stof

except you did not close the PR :)

@julesbou julesbou closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php
View
1  lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php
@@ -332,6 +332,7 @@ protected function loadMetadata($name)
if ($this->evm->hasListeners(Events::loadClassMetadata)) {
$eventArgs = new \Doctrine\ORM\Event\LoadClassMetadataEventArgs($class, $this->em);
$this->evm->dispatchEvent(Events::loadClassMetadata, $eventArgs);
+ $this->wakeupReflection($class, $this->getReflectionService());
}
$this->validateRuntimeMetadata($class, $parent);
Something went wrong with that request. Please try again.