mirror of
https://github.com/doctrine/orm.git
synced 2026-04-29 17:33:15 +02:00
DDC-3257: [GH-1112] DefaultRepositoryFactory: single repository for aliased entities #4029
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Aug 18, 2014).
Originally assigned to: @Ocramius on GitHub.
Jira issue originally created by user @doctrinebot:
This issue is created automatically through a Github pull request on behalf of giosh94mhz:
Url: https://github.com/doctrine/doctrine2/pull/1112
Message:
The actual implementation of
DefaultRepositoryFactorycreate multiple instances for a single entity if is accessed by multiple namespace aliases.I've patched
DefaultRepositoryFactory::getRepositoryso that aliases are resolved before saving the reference into therepositoryList.Just to not affect performance of existing implementation, I've added to the
repositoryListboth the aliased class name and the fully-qualified class name, but only the latter is required.@doctrinebot commented on GitHub (Aug 18, 2014):
Comment created by @doctrinebot:
A related Github Pull-Request [GH-1112] was assigned:
https://github.com/doctrine/doctrine2/pull/1112
@doctrinebot commented on GitHub (Aug 18, 2014):
Comment created by @doctrinebot:
A related Github Pull-Request [GH-1112] was closed:
https://github.com/doctrine/doctrine2/pull/1112
@doctrinebot commented on GitHub (Aug 18, 2014):
Issue was closed with resolution "Fixed"