mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-58: Getting "undefined index" notices from fields in subentities which are foreign indices. #70
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 22, 2009).
Jira issue originally created by user ablock:
I have a class with subclasses. One of the subclasses has fields which are foreign indices
If i do
$em->find('MyParentEntity', 1)I get notices
Notice: Undefined index: somefieldwhichisforeignindex in /Doctrine/ORM/UnitOfWork.php on line 1708
@doctrinebot commented on GitHub (Oct 22, 2009):
Comment created by romanb:
I assume this is Class Table Inheritance?
If so, I think I know what to do.
@doctrinebot commented on GitHub (Oct 22, 2009):
Comment created by ablock:
Yes, this is Class Table Inheritance.
@doctrinebot commented on GitHub (Oct 22, 2009):
Comment created by romanb:
I reproduced this issue in our unit tests and then fixed it. So this issue should be fixed now. If not, please report back with new information.
@doctrinebot commented on GitHub (Oct 22, 2009):
Issue was closed with resolution "Fixed"