mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
findBy() doesn't work with Single Table Inheritance (SINGLE_TABLE) child object. #6370
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 @JakubSzczesniak on GitHub (Dec 21, 2019).
Bug Report
Summary
In Single Table Inheritance (SINGLE_TABLE) is impossible to filter by parameters included in child objects.
Current behavior
How to reproduce
Create abstract entity fe
AbstractOrderCreate child entity fe
ShippingOrderwith any parameter (for me is deliveredAt).Try to get filtered objects by
findBy()with child parameter.P.S. My orderRepository has
AbstractOrderinentityClassparameter.Expected behavior
Select objects with filters.