[PR #593] Fix SimpleObjectHydrator behavior when column not exists in fieldMappings, relationMappings and metaMappings #8425

Closed
opened 2026-01-22 15:59:52 +01:00 by admin · 0 comments
Owner

Original Pull Request: https://github.com/doctrine/orm/pull/593

State: closed
Merged: Yes


88c1975dda change seems to make unable to use findOneBy() method because of doctrine_rownum added to query.

findOneBy() throws:

Notice: Undefined index: doctrine_rownum in
...\vendor\doctrine\orm\lib\Doctrine\ORM\Internal\Hydration\SimpleObjectHydrator.php line 183

**Original Pull Request:** https://github.com/doctrine/orm/pull/593 **State:** closed **Merged:** Yes --- https://github.com/doctrine/dbal/commit/88c1975dda492f3dd93cddea71ebacb40ed7efa5 change seems to make unable to use `findOneBy()` method because of `doctrine_rownum` added to query. `findOneBy()` throws: > Notice: Undefined index: doctrine_rownum in > ...\vendor\doctrine\orm\lib\Doctrine\ORM\Internal\Hydration\SimpleObjectHydrator.php line 183
admin added the pull-request label 2026-01-22 15:59:52 +01:00
admin closed this issue 2026-01-22 15:59:53 +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#8425