Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

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

wants to merge 1 commit into from

2 participants

Jules Christophe Coevoet

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

Christophe Coevoet

except you did not close the PR :)

Jules julesbou closed this January 21, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Jan 19, 2012
Jules call ClassMetadataFactory::wakeupReflection after loadClassMetadata e…
This page is out of date. Refresh to see the latest.
1  lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php
@@ -332,6 +332,7 @@ protected function loadMetadata($name)
332 332
             if ($this->evm->hasListeners(Events::loadClassMetadata)) {
333 333
                 $eventArgs = new \Doctrine\ORM\Event\LoadClassMetadataEventArgs($class, $this->em);
334 334
                 $this->evm->dispatchEvent(Events::loadClassMetadata, $eventArgs);
+                $this->wakeupReflection($class, $this->getReflectionService());
335 336
336 337
337 338
             $this->validateRuntimeMetadata($class, $parent);

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.