mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-1470: Bad discrimator value give imprecise error exception #1845
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 (Nov 4, 2011).
Jira issue originally created by user fmaz008:
When you define a wrong discriminator field in the mapping configuration, doctrine will return the following ErrorException when trying to get an instance of the object:
This is not precise enough, an error giving hint on the mapping configuration that is concerned, and on the bad field should be given.
Hope this will help improving the "userfriendlyness"
@doctrinebot commented on GitHub (Mar 16, 2012):
Comment created by @guilhermeblanco:
Fixed in
6f3ef148a9@doctrinebot commented on GitHub (Mar 16, 2012):
Issue was closed with resolution "Fixed"