[PR #8370] [GH-8366] Catch additional Persistence MappingException #10948

Closed
opened 2026-01-22 16:09:11 +01:00 by admin · 0 comments
Owner

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

State: closed
Merged: Yes


Depending on the mapping drivers, different kinds of exceptions are thrown. We did not catch this in the testsuite, because we don't have the DriverChain configured when testing parameter type inferring and setting this up is a bit much. The inheritence hierachy here would benefit from an interface.

Fixes #8366

**Original Pull Request:** https://github.com/doctrine/orm/pull/8370 **State:** closed **Merged:** Yes --- Depending on the mapping drivers, different kinds of exceptions are thrown. We did not catch this in the testsuite, because we don't have the DriverChain configured when testing parameter type inferring and setting this up is a bit much. The inheritence hierachy here would benefit from an interface. Fixes #8366
admin added the pull-request label 2026-01-22 16:09:11 +01:00
admin closed this issue 2026-01-22 16:09:12 +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#10948