[DDC-2133] Issue with Query::iterate and query mixed results Created: 09/Nov/12 Updated: 01/May/13
|Project:||Doctrine 2 - ORM|
|Reporter:||Oleg Namaka||Assignee:||Benjamin Eberlei|
Consider this code:
This results with undefined index: 'name' for the second entry.
First result keys are (notice just one array element with index 0):
but all others are different (notice two array elements with index 0 and the other one that is incrementing):
What's wrong with this approach? Is it a bug or mixed results should not be used with the iterate method?
|Comment by Benjamin Eberlei [ 12/Nov/12 ]|
This is a known issue that we don't have found a BC fix for and as I understand Guilherme Blanco requires considerable refactoring.