DDC-1818: ResultSetMapping::addJoinedEntityResult does not work #2290

Open
opened 2026-01-22 13:47:26 +01:00 by admin · 0 comments
Owner

Originally created by @doctrinebot on GitHub (May 10, 2012).

Originally assigned to: @beberlei on GitHub.

Jira issue originally created by user nikola.petkanski:

I'm trying to fetch the data for oneToMany relation, but it failed:

{quote}
Notice: Undefined index: SomeCompany\SomeBundle\Entity\SomeJoinedEntity in ..../symfony/vendor/doctrine/lib/Doctrine/ORM/Internal/Hydration/ObjectHydrator.php line 382
{quote}

While trying to debug the issue I came to the conclusion that if I use the FQDN entity name it works, but if using SomeBundle:SomeJoinedEntity does not. I also checked the unit tests and I wasn't able to find which test this behavior - they all use the FQDN and not the short name of the entity.

I wasn't sure whether this should be a Symfony 2.0.13 issue or a Doctrine2 one, but in the end I've the intention that it has to be posted here.

Originally created by @doctrinebot on GitHub (May 10, 2012). Originally assigned to: @beberlei on GitHub. Jira issue originally created by user nikola.petkanski: I'm trying to fetch the data for oneToMany relation, but it failed: {quote} Notice: Undefined index: SomeCompany\SomeBundle\Entity\SomeJoinedEntity in ..../symfony/vendor/doctrine/lib/Doctrine/ORM/Internal/Hydration/ObjectHydrator.php line 382 {quote} While trying to debug the issue I came to the conclusion that if I use the FQDN entity name it works, but if using SomeBundle:SomeJoinedEntity does not. I also checked the unit tests and I wasn't able to find which test this behavior - they all use the FQDN and not the short name of the entity. I wasn't sure whether this should be a Symfony 2.0.13 issue or a Doctrine2 one, but in the end I've the intention that it has to be posted here.
admin added the Bug label 2026-01-22 13:47:26 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#2290