Skip to content

Extra lazy get for inverse side of many-to-many #712

wants to merge 1 commit into from

5 participants


This is the cange requested by @stof and @beberlei in PR #710. It implements an extra lazy get on the working side of the relationship. As mentioned in #710 the unit tests fails for reasons I don't quite understand. The error I get is:

1) Doctrine\Tests\ORM\Functional\ExtraLazyCollectionTest::testGetIndexByManyToMany
Exception: [PHPUnit_Framework_Error_Notice] Undefined index: joinColumns


If someone with a little more understanding of the Doctrine internals can help me fix this, then we could restore some of the functionality that PR #710 had to remove.



thank you for creating this pull request. I have automatically opened an issue
on our Jira Bug Tracker for you. See the issue link:

We use Jira to track the state of pull requests and the versions they got
included in.

Doctrine member

@bakura10 could you take a look at this one?

Doctrine member

How does it compare with #1033 ?

Doctrine member

@guilhermeblanco can you check this when you have time?

Doctrine member

Working on this

Doctrine member

PR #1249 addresses this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.