Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-2519

Unable to DQL SELECT PARTIAL entity with association identifier

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.4
    • Fix Version/s: 2.4
    • Component/s: DQL
    • Security Level: All
    • Labels:
      None
    • Environment:
      Ubuntu, OSX, PHP5.4.x

      Description

      Entity\Person: id, name, etc
      Entity\User: person, admin, etc (person is the primary and association key)

      Trying DQL:
      SELECT PARTIAL u.

      {person,admin}

      FROM Entity\User u
      will fail.

        Activity

        Gordon Forsythe created issue -
        Fabio B. Silva made changes -
        Field Original Value New Value
        Assignee Benjamin Eberlei [ beberlei ] Fabio B. Silva [ fabio.bat.silva ]
        Fabio B. Silva made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Benjamin Eberlei made changes -
        Fix Version/s 2.4 [ 10321 ]

          People

          • Assignee:
            Fabio B. Silva
            Reporter:
            Gordon Forsythe
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: