DDC-2359: ClassMetadataFactory::wakeupReflection() is called twice #2964

Closed
opened 2026-01-22 14:08:38 +01:00 by admin · 2 comments
Owner

Originally created by @doctrinebot on GitHub (Mar 20, 2013).

Originally assigned to: @Ocramius on GitHub.

Jira issue originally created by user dershao:

ClassMetadataFactory::wakeupReflection() is called in Common...\AbstractClassMetadataFactory::loadMetadata() at the end of the method. A few lines after that ORM...\ClassMetadatafactory::doLoadMeadata() is called, where wakeupReflection() was already called. I think this has been overlooked during the refactoring of the factories. I think the call in doLoadMetadata() is redundant..

Originally created by @doctrinebot on GitHub (Mar 20, 2013). Originally assigned to: @Ocramius on GitHub. Jira issue originally created by user dershao: ClassMetadataFactory::wakeupReflection() is called in Common...\AbstractClassMetadataFactory::loadMetadata() at the end of the method. A few lines after that ORM...\ClassMetadatafactory::doLoadMeadata() is called, where wakeupReflection() was already called. I think this has been overlooked during the refactoring of the factories. I think the call in doLoadMetadata() is redundant..
admin added the Improvement label 2026-01-22 14:08:38 +01:00
admin closed this issue 2026-01-22 14:08:38 +01:00
Author
Owner

@doctrinebot commented on GitHub (Mar 24, 2013):

Comment created by @ocramius:

Fix at DDC-2369 - https://github.com/doctrine/doctrine2/pull/630

@doctrinebot commented on GitHub (Mar 24, 2013): Comment created by @ocramius: Fix at [DDC-2369](http://www.doctrine-project.org/jira/browse/DDC-2369) - https://github.com/doctrine/doctrine2/pull/630
Author
Owner

@doctrinebot commented on GitHub (Mar 24, 2013):

Issue was closed with resolution "Fixed"

@doctrinebot commented on GitHub (Mar 24, 2013): Issue was closed with resolution "Fixed"
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#2964