DDC-1468: Exception verbose: Id in a mapped-superclass #1839

Closed
opened 2026-01-22 13:27:47 +01:00 by admin · 6 comments
Owner

Originally created by @doctrinebot on GitHub (Nov 4, 2011).

Jira issue originally created by user fmaz008:

Some exception could/should be more precise (I've lost a lot of time figuring out why I was having an error)

When you have an id field inside a mapped-superclass, you get the following exception:

[ErrorException]
Notice: Undefined index: IdealTech\OnlineSystem\GeoBundle\Entity\AbsAddress in /Users/fmazerolle/Sites/it/os/vendor/doctrine/lib/Doctrine/ORM/Mapping/Driver/AbstractFileDriver.php line 121

The exception should be more verbose and tell the real cause of the error.

Originally created by @doctrinebot on GitHub (Nov 4, 2011). Jira issue originally created by user fmaz008: Some exception could/should be more precise (I've lost a lot of time figuring out why I was having an error) When you have an id field inside a mapped-superclass, you get the following exception: [ErrorException] Notice: Undefined index: IdealTech\OnlineSystem\GeoBundle\Entity\AbsAddress in /Users/fmazerolle/Sites/it/os/vendor/doctrine/lib/Doctrine/ORM/Mapping/Driver/AbstractFileDriver.php line 121 The exception should be more verbose and tell the real cause of the error.
admin added the Improvement label 2026-01-22 13:27:47 +01:00
admin closed this issue 2026-01-22 13:27:49 +01:00
Author
Owner

@doctrinebot commented on GitHub (Dec 15, 2011):

Comment created by @beberlei:

This issue is referenced in Github Pull-Request GH-219
https://github.com/doctrine/doctrine2/pull/219

@doctrinebot commented on GitHub (Dec 15, 2011): Comment created by @beberlei: This issue is referenced in Github Pull-Request GH-219 https://github.com/doctrine/doctrine2/pull/219
Author
Owner

@doctrinebot commented on GitHub (Dec 19, 2011):

Comment created by @beberlei:

Related Pull Request was closed: https://github.com/doctrine/doctrine2/pull/219

@doctrinebot commented on GitHub (Dec 19, 2011): Comment created by @beberlei: Related Pull Request was closed: https://github.com/doctrine/doctrine2/pull/219
Author
Owner

@doctrinebot commented on GitHub (Dec 19, 2011):

Comment created by @guilhermeblanco:

Fixed in f6d9344d89

@doctrinebot commented on GitHub (Dec 19, 2011): Comment created by @guilhermeblanco: Fixed in https://github.com/doctrine/doctrine2/commit/f6d9344d892e5e959b4474437258b02777b41eb1
Author
Owner

@doctrinebot commented on GitHub (Dec 19, 2011):

Issue was closed with resolution "Fixed"

@doctrinebot commented on GitHub (Dec 19, 2011): Issue was closed with resolution "Fixed"
Author
Owner

@doctrinebot commented on GitHub (Dec 3, 2013):

Comment created by @doctrinebot:

A related Github Pull-Request [GH-219] was closed:
https://github.com/doctrine/common/pull/219

@doctrinebot commented on GitHub (Dec 3, 2013): Comment created by @doctrinebot: A related Github Pull-Request [GH-219] was closed: https://github.com/doctrine/common/pull/219
Author
Owner

@doctrinebot commented on GitHub (Dec 20, 2013):

Comment created by @doctrinebot:

A related Github Pull-Request [GH-219] was closed:
https://github.com/doctrine/dbal/pull/219

@doctrinebot commented on GitHub (Dec 20, 2013): Comment created by @doctrinebot: A related Github Pull-Request [GH-219] was closed: https://github.com/doctrine/dbal/pull/219
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#1839