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

Closed
doctrinebot opened this Issue Oct 22, 2009 · 4 comments

1 participant

@doctrinebot

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

Comment created by romanb:

I assume this is Class Table Inheritance?

If so, I think I know what to do.

@doctrinebot

Comment created by ablock:

Yes, this is Class Table Inheritance.

@doctrinebot

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

Issue was closed with resolution "Fixed"

@doctrinebot doctrinebot added this to the 2.0-ALPHA3 milestone Dec 6, 2015
@doctrinebot doctrinebot closed this Dec 6, 2015
@doctrinebot doctrinebot added the Bug label Dec 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment