[PR #1111] Fix inheritance hierarchy wrong exception message #9166

Open
opened 2026-01-22 16:03:27 +01:00 by admin · 0 comments
Owner

Original Pull Request: https://github.com/doctrine/orm/pull/1111

State: closed
Merged: Yes


Hi,

I've fixed this exception message.

It is only throws when trying to make a query with an entity which is not defined in the discriminator mapping here: https://github.com/doctrine/doctrine2/blob/master/lib/Doctrine/ORM/Query/SqlWalker.php#L2075

**Original Pull Request:** https://github.com/doctrine/orm/pull/1111 **State:** closed **Merged:** Yes --- Hi, I've fixed this exception message. It is only throws when trying to make a query with an entity which is not defined in the discriminator mapping here: https://github.com/doctrine/doctrine2/blob/master/lib/Doctrine/ORM/Query/SqlWalker.php#L2075
admin added the pull-request label 2026-01-22 16:03:27 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#9166