mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-1442: SimpleObject hydratation mode with inheritance #1807
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 20, 2011).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user armetiz:
SimpleObject hydratation mode with inheritance, it appear that it's not working.
The problem start in SimpleObjectHydrator.php line 129 when calling UnitOfWork->createEntity(NULL, Array, Array).
@doctrinebot commented on GitHub (Oct 20, 2011):
Comment created by @beberlei:
in what context are you using simpleobjecthydrator?
@doctrinebot commented on GitHub (Oct 20, 2011):
Comment created by armetiz:
It was just for testing this feature.
I have build this queryBuilder :
Entity\User extends an other Entity.
@doctrinebot commented on GitHub (Oct 27, 2011):
Comment created by @beberlei:
Can you maybe show how the User and Other entity are mapped? It seems your discriminator map could contain a problem, i couldnt reproduce it with our Joined Table Inheritance test entities so far.
@doctrinebot commented on GitHub (Nov 8, 2011):
Comment created by @asm89:
Lowered the priority of this issue until we receive more feedback.
@doctrinebot commented on GitHub (Nov 18, 2011):
Comment created by @beberlei:
This was fixed recently by throwing an error message telling the user that his discriminator mapping is wrong.
@doctrinebot commented on GitHub (Nov 18, 2011):
Issue was closed with resolution "Fixed"