Skip to content

Loading…

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

Closed
doctrinebot opened this Issue · 6 comments

1 participant

@doctrinebot

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.

@doctrinebot

Comment created by @beberlei:

This issue is referenced in Github Pull-Request GH-219
#219

@doctrinebot

Comment created by @beberlei:

Related Pull Request was closed: #219

@doctrinebot

Comment created by @guilhermeblanco:

Fixed in f6d9344

@doctrinebot

Issue was closed with resolution "Fixed"

@doctrinebot

Comment created by @doctrinebot:

A related Github Pull-Request [GH-219] was closed:
doctrine/common#219

@doctrinebot

Comment created by @doctrinebot:

A related Github Pull-Request [GH-219] was closed:
doctrine/dbal#219

@doctrinebot doctrinebot added this to the 2.2 milestone
@doctrinebot doctrinebot closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.