DDC-58: Getting "undefined index" notices from fields in subentities which are foreign indices. #70

Closed
opened 2026-01-22 12:26:02 +01:00 by admin · 4 comments
Owner

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

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
admin added the Bug label 2026-01-22 12:26:02 +01:00
admin closed this issue 2026-01-22 12:26:03 +01:00
Author
Owner

@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 romanb: I assume this is Class Table Inheritance? If so, I think I know what to do.
Author
Owner

@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 ablock: Yes, this is Class Table Inheritance.
Author
Owner

@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): 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.
Author
Owner

@doctrinebot commented on GitHub (Oct 22, 2009):

Issue was closed with resolution "Fixed"

@doctrinebot commented on GitHub (Oct 22, 2009): Issue was closed with resolution "Fixed"
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#70