mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-3958: [GH-1537] Use ObjectManager interface to allow for decorated EntityManagers #4840
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 (Oct 21, 2015).
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 gnat42:
Url: https://github.com/doctrine/doctrine2/pull/1537
Message:
We decorate the EntityManager. When doing so the symfony console command doctrine:generate:form or generate:doctrine:form complain of being passed an object of the wrong type.
With this change the form is properly generated without issue.
I should note this isn't an issue in doctrine 2.4+ since the EntityManagerInterface is type hinted instead.
@doctrinebot commented on GitHub (Oct 21, 2015):
Comment created by gnat:
This isn't against master because it isn't an issue on master. Only affects doctrine < 2.4
@doctrinebot commented on GitHub (Oct 30, 2015):
Comment created by @doctrinebot:
A related Github Pull-Request [GH-1537] was closed:
https://github.com/doctrine/doctrine2/pull/1537
@doctrinebot commented on GitHub (Oct 30, 2015):
Comment created by @doctrinebot:
A related Github Pull-Request [GH-1537] was assigned:
https://github.com/doctrine/doctrine2/pull/1537
@doctrinebot commented on GitHub (Oct 30, 2015):
Issue was closed with resolution "Invalid"