Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-3192

Custom types do not get converted to PHP Value when result is gotten from custom query

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.4, Git Master, 2.4.1, 2.4.2
    • Fix Version/s: 2.5
    • Component/s: None
    • Security Level: All
    • Labels:

      Description

      The description would be the same as in DDC-2494. It fixes only entity persister, so it works as expected when entity manager's find() is used, but query results that are gotten by DQL query still suffer from the issue: SQLWalker doesn't set type mapping information into the ResultSetMapping.

      Pull request with test case in on the way.

        Issue Links

          Activity

          Show
          Alexander Kurilo added a comment - https://github.com/doctrine/doctrine2/pull/1073
          Hide
          Doctrine Bot added a comment -

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

          Show
          Doctrine Bot added a comment - A related Github Pull-Request [GH-1073] was closed: https://github.com/doctrine/doctrine2/pull/1073
          Show
          Marco Pivetta added a comment - Merged in https://github.com/doctrine/doctrine2/commit/b80149344dfadcfbdb1d9f4061c5012dec89d223 - discussion at https://github.com/doctrine/doctrine2/pull/1073

            People

            • Assignee:
              Marco Pivetta
              Reporter:
              Alexander Kurilo
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: