Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-1468

Exception verbose: Id in a mapped-superclass

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.2
    • Component/s: ORM
    • Labels:
      None

      Description

      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.

        Activity

          People

          • Assignee:
            Fabio B. Silva
            Reporter:
            Francois Mazerolle
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: