mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-636: Incorrect proxy name when using alias for entity namespace #788
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 (Jun 13, 2010).
Jira issue originally created by user majkl578:
When I create an alias for entity namespace:
and then use it in association mapping:
Then the proxy for the target entity is not generated correctly. It generates proxy class name "Entities:Foo\BarProxy", instead of "ABEntitiesFooBarProxy". It obviously causes Parse error in PHP.
@doctrinebot commented on GitHub (Jun 13, 2010):
Comment created by @beberlei:
Aliases in targetEntity are not supported and can't be architecture-wise. Aliases only work in DQL Queries or for EntityManager::find() ::getRepository().
@doctrinebot commented on GitHub (Jun 13, 2010):
Issue was closed with resolution "Can't Fix"
@doctrinebot commented on GitHub (Oct 28, 2013):
Comment created by nick4fake:
Why this bug is set to "Won't fix"? It would be great feature.