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

        Show
        Fabio B. Silva added a comment - Fixed : https://github.com/doctrine/doctrine2/commit/2ce72f38a2a13c665cd7e2ee5d79eb82d2c8003b

          People

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

            Dates

            • Created:
              Updated:
              Resolved: