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

        Francois Mazerolle created issue -
        Fabio B. Silva made changes -
        Field Original Value New Value
        Assignee Benjamin Eberlei [ beberlei ] Fabio B. Silva [ fabio.bat.silva ]
        Guilherme Blanco made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.2 [ 10157 ]
        Resolution Fixed [ 1 ]
        Benjamin Eberlei made changes -
        Workflow jira [ 13147 ] jira-feedback [ 15095 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback [ 15095 ] jira-feedback2 [ 16959 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback2 [ 16959 ] jira-feedback3 [ 19212 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: