[BUG]: Column '0' is not part of the column map
. After iterating for the second time in a Resultset
#16467
Labels
Column '0' is not part of the column map
. After iterating for the second time in a Resultset
#16467
We have a problem in our project since the upgrade from phalcon
3.4.5
to the latest version5.4.0
.When using the
\Phalcon\Mvc\Model\Query\Builde
r in any of our models we have the same issue after iterating the second time over theResultSet
we get the errorColumn '0' is not part of the column map
when doingtoArray()
in that result set.To Reproduce
Code example of bug:
We can also reproduce the error like this.
We notice that in the second dump, the property
row
has more properties and with the wrong indexs.Screenshots
First dump:
Second dump:
Details
The text was updated successfully, but these errors were encountered: