Kirill Voronov
Kirill Voronov
This also crashes Phalcon\Mvc\Model\Query\Builder result set, for example: ``` // ... build some query into $builder $items = $builder->getQuery()->execute(); foreach ($items as $item) { // this line fails } ```
Hello! It would be great this bug was labelled with highest priority because it presents since 2.x, can be easily reproduced in plugins and also in middleware of micro application...
disappointment
@zsilbi @niden Hello, we are trying to migrate from 4.0 to 5.0 and got unexpected behaviour because now related records are updating always even if they haven't changed. Here is...
https://github.com/phalcon/cphalcon/blob/3241d96e4bb01dc7746b74c9ce586250b8887c46/phalcon/Mvc/Model.zep#L1575 https://github.com/phalcon/cphalcon/blob/3241d96e4bb01dc7746b74c9ce586250b8887c46/phalcon/Mvc/Model.zep#L1601 https://github.com/phalcon/cphalcon/blob/3241d96e4bb01dc7746b74c9ce586250b8887c46/phalcon/Mvc/Model/Query.zep#L3654 @niden Return type of Phalcon\Mvc\Model::findFirst now must be ModelInterface, but it returns Phalcon\Mvc\Model\Query::execute which return type is mixed. In our project we use widely 'columns' option for...
@Jeckerson is it possible to say when this going to be implemented?
This happens because in line 335 of `Dispatcher` params are copied into local method variable https://github.com/phalcon/cphalcon/blob/041a4e09ad65dd7f14fc5fd3c61d9d92980e31ed/phalcon/Dispatcher/AbstractDispatcher.zep#L335 and since then only that variable is used, so any further call of `$dispatcher->setParams`...
@BeMySlaveDarlin @Jeckerson @niden
Thanks y'all ❤️