DDC-3192: Custom types do not get converted to PHP Value when result is gotten from custom query #3956

Closed
opened 2026-01-22 14:32:20 +01:00 by admin · 5 comments
Owner

Originally created by @doctrinebot on GitHub (Jun 26, 2014).

Originally assigned to: @Ocramius on GitHub.

Jira issue originally created by user kamazee:

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.

Originally created by @doctrinebot on GitHub (Jun 26, 2014). Originally assigned to: @Ocramius on GitHub. Jira issue originally created by user kamazee: The description would be the same as in [DDC-2494](http://www.doctrine-project.org/jira/browse/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.
admin added the Bug label 2026-01-22 14:32:20 +01:00
admin closed this issue 2026-01-22 14:32:21 +01:00
Author
Owner

@doctrinebot commented on GitHub (Jun 26, 2014):

@doctrinebot commented on GitHub (Jun 26, 2014): - is duplicated by [DDC-3194: [GH-1073] Add missing type mapping](http://www.doctrine-project.org/jira/browse/DDC-3194) - relates to [DDC-2494: Proxy getId not invoke convertToPHPValue on custom type](http://www.doctrine-project.org/jira/browse/DDC-2494)
Author
Owner

@doctrinebot commented on GitHub (Jun 26, 2014):

Comment created by kamazee:

https://github.com/doctrine/doctrine2/pull/1073

@doctrinebot commented on GitHub (Jun 26, 2014): Comment created by kamazee: https://github.com/doctrine/doctrine2/pull/1073
Author
Owner

@doctrinebot commented on GitHub (Jul 14, 2014):

Comment created by @doctrinebot:

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

@doctrinebot commented on GitHub (Jul 14, 2014): Comment created by @doctrinebot: A related Github Pull-Request [GH-1073] was closed: https://github.com/doctrine/doctrine2/pull/1073
Author
Owner

@doctrinebot commented on GitHub (Jul 14, 2014):

Comment created by @ocramius:

Merged in b80149344d - discussion at https://github.com/doctrine/doctrine2/pull/1073

@doctrinebot commented on GitHub (Jul 14, 2014): Comment created by @ocramius: Merged in https://github.com/doctrine/doctrine2/commit/b80149344dfadcfbdb1d9f4061c5012dec89d223 - discussion at https://github.com/doctrine/doctrine2/pull/1073
Author
Owner

@doctrinebot commented on GitHub (Jul 14, 2014):

Issue was closed with resolution "Fixed"

@doctrinebot commented on GitHub (Jul 14, 2014): Issue was closed with resolution "Fixed"
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#3956