mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-3104: Invalid count on EXTRA LAZY collection of SINGLE TABLE entities #3855
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 (Apr 28, 2014).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user deatheriam:
**** EntityPromotionAbstract entity:
**** CategoryPromotion entity:
**** BrandPromotion entity:
**** Brand entity:
**** Category entity:
@doctrinebot commented on GitHub (Apr 28, 2014):
@doctrinebot commented on GitHub (Apr 29, 2014):
Comment created by @ocramius:
Why would the query include a type conditional? To me, it seems like the association was built between invalid data types instead.
@doctrinebot commented on GitHub (May 6, 2014):
Comment created by deatheriam:
@doctrinebot commented on GitHub (May 6, 2014):
Comment created by @ocramius:
Ah, I see what you mean now. Sorry, I was confusing this with a joined table inheritance.
@doctrinebot commented on GitHub (May 20, 2014):
Comment created by vigintas:
Exactly same behaviour just wasted me a few hours. Shame I'll have to switch fetch mode back to LAZY until this gets fixed.
@liverbool commented on GitHub (Mar 22, 2017):
How about status of this?
@Ocramius commented on GitHub (Mar 22, 2017):
@liverbool consider providing a test case
@liverbool commented on GitHub (Mar 22, 2017):
Seem collection filter doesn't use
COUNTquery.@lcobucci commented on GitHub (Mar 23, 2017):
@liverbool that's not exactly a test case though, you can use
1aa02f9afc/tests/Doctrine/Tests/ORM/Functional/Ticket/GH5762Test.phpas example