DDC-811: More explicit MappingException #1002

Closed
opened 2026-01-22 12:58:35 +01:00 by admin · 2 comments
Owner

Originally created by @doctrinebot on GitHub (Sep 20, 2010).

Jira issue originally created by user needle:

Could MappingException be more explicit ?

For example if we just forgot an attribute the raised exception is :
Doctrine\ORM\Mapping\MappingException: An error occurred in My\Class in Doctrine/ORM/Mapping/MappingException.php on line 126

We could be expecting some thing more like :
Missing someField in My\Class

Thanks

Originally created by @doctrinebot on GitHub (Sep 20, 2010). Jira issue originally created by user needle: Could MappingException be more explicit ? For example if we just forgot an attribute the raised exception is : Doctrine\ORM\Mapping\MappingException: An error occurred in My\Class in Doctrine/ORM/Mapping/MappingException.php on line 126 We could be expecting some thing more like : Missing someField in My\Class Thanks
admin added the Improvement label 2026-01-22 12:58:35 +01:00
admin closed this issue 2026-01-22 12:58:35 +01:00
Author
Owner

@doctrinebot commented on GitHub (Sep 23, 2010):

Comment created by needle:

It seems that it only happen when i used xdebug.

Sorry for useless report

@doctrinebot commented on GitHub (Sep 23, 2010): Comment created by needle: It seems that it only happen when i used xdebug. Sorry for useless report
Author
Owner

@doctrinebot commented on GitHub (Sep 23, 2010):

Issue was closed with resolution "Invalid"

@doctrinebot commented on GitHub (Sep 23, 2010): Issue was closed with resolution "Invalid"
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#1002