mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #554] [MERGED] Fixed ObjectHydrator when namespace alias is given. #8367
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/doctrine/orm/pull/554
Author: @beregond
Created: 1/24/2013
Status: ✅ Merged
Merged: 2/2/2013
Merged by: @guilhermeblanco
Base:
master← Head:hydrator-fix📝 Commits (5)
23e0bb7Fixed ObjectHydrator when namespace alias is given.1949ff8[DDC-2256] Added test for hydrator.d7f8222[DDC-2256] Moved aliases translation to ResultSetMapping, fixed tests.9355945[DDC-2256] Code refactorization.92ada24[DDC-2256] Code improvements.📊 Changes
4 files changed (+144 additions, -3 deletions)
View changed files
📝
lib/Doctrine/ORM/AbstractQuery.php(+1 -0)📝
lib/Doctrine/ORM/Internal/Hydration/ObjectHydrator.php(+3 -3)📝
lib/Doctrine/ORM/Query/ResultSetMapping.php(+25 -0)➕
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC2256Test.php(+115 -0)📄 Description
Fixes problem when executing native query:
Hydrator couldn't find cached metadata, when "joined entity result" class name wasn't fully qualified name (as in the example above).
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.