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 ]
        Hide
        Benjamin Eberlei added a comment -

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

        Show
        Benjamin Eberlei added a comment - This issue is referenced in Github Pull-Request GH-219 https://github.com/doctrine/doctrine2/pull/219
        Hide
        Benjamin Eberlei added a comment -

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

        Show
        Benjamin Eberlei added a comment - Related Pull Request was closed: https://github.com/doctrine/doctrine2/pull/219
        Show
        Guilherme Blanco added a comment - Fixed in https://github.com/doctrine/doctrine2/commit/f6d9344d892e5e959b4474437258b02777b41eb1
        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 ]
        Hide
        Doctrine Bot added a comment -

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

        Show
        Doctrine Bot added a comment - A related Github Pull-Request [GH-219] was closed: https://github.com/doctrine/common/pull/219
        Hide
        Doctrine Bot added a comment -

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

        Show
        Doctrine Bot added a comment - A related Github Pull-Request [GH-219] was closed: https://github.com/doctrine/dbal/pull/219

        This list may be incomplete, as errors occurred whilst retrieving source from linked applications:

        • Request to http://www.doctrine-project.org/fisheye/ failed: Error in remote call to 'FishEye 0 (http://www.doctrine-project.org/fisheye/)' (http://www.doctrine-project.org/fisheye) [AbstractRestCommand{path='/rest-service-fe/search-v1/crossRepositoryQuery', params={query=DDC-1468, expand=changesets[0:20].revisions[0:29],reviews}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)

          People

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

            Dates

            • Created:
              Updated:
              Resolved: