mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
[PR #696] [CLOSED] extra lazy joined test #8569
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?
📋 Pull Request Information
Original PR: https://github.com/doctrine/orm/pull/696
Author: @Padam87
Created: 6/14/2013
Status: ❌ Closed
Base:
master← Head:extralazyjoined📝 Commits (4)
371e566extra lazy joined test1d13de1dir separator0f6101bDDC number1e8f88bmerge📊 Changes
5 files changed (+110 additions, -2 deletions)
View changed files
➕
tests/Doctrine/Tests/Models/DDC2504/DDC2504ChildClass.php(+10 -0)➕
tests/Doctrine/Tests/Models/DDC2504/DDC2504OtherClass.php(+37 -0)➕
tests/Doctrine/Tests/Models/DDC2504/DDC2504RootClass.php(+23 -0)📝
tests/Doctrine/Tests/ORM/Functional/ExtraLazyCollectionTest.php(+31 -1)📝
tests/Doctrine/Tests/OrmFunctionalTestCase.php(+9 -1)📄 Description
Hi,
This is just a bug report, not an actual PR, you don't have to merge.
When you have a JOINED inheritance, and you have another class, which is related to the parent class of the inheritance, and you only have an association for one of the child classes, EXTRA_LAZY fetch mode throws an exception, because it is not joining the parent table to the count query.
There are many ways around this fortunately, but I thought I should report it anyway.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.