Fix SimpleObjectHydrator behavior when column not exists in fieldMappings, relationMappings and metaMappings #593

Merged
merged 1 commit into from Mar 14, 2013

Conversation

Projects
None yet
3 participants
@norzechowicz
Contributor

norzechowicz commented Feb 28, 2013

doctrine/dbal@88c1975 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

@doctrinebot

This comment has been minimized.

Show comment Hide comment
@doctrinebot

doctrinebot Feb 28, 2013

Hello,

thank you for positing this Pull Request. I have automatically opened an issue on our Jira Bug Tracker for you with the details of this Pull-Request. See the Link:

http://doctrine-project.org/jira/browse/DDC-2323

Hello,

thank you for positing this Pull Request. I have automatically opened an issue on our Jira Bug Tracker for you with the details of this Pull-Request. See the Link:

http://doctrine-project.org/jira/browse/DDC-2323

beberlei added a commit that referenced this pull request Mar 14, 2013

Merge pull request #593 from norzechowicz/hydrator-fix
Fix SimpleObjectHydrator behavior when column not exists in fieldMappings, relationMappings and metaMappings

@beberlei beberlei merged commit 4982e2b into doctrine:master Mar 14, 2013

1 check passed

default The Travis build passed
Details
@beberlei

This comment has been minimized.

Show comment Hide comment
@beberlei

beberlei Mar 14, 2013

Owner

And merged into 2.3

Owner

beberlei commented Mar 14, 2013

And merged into 2.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment