prooph / pdo-event-store

PDO implementation of ProophEventStore http://getprooph.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wrong ProjectionNotFound exception on resetProjection

oqq opened this issue · comments

If I run MySqlProjectionManager::resetProjection on a projection which has the status 'resetting', this method would throw a ProjectionNotFound exception.

This occurs probably since $statement->rowCount() would also return 0 if no row was changed at all.

Maybe also true for Postgres and MariaDB and of course other methods like stop and delete.

confirmed bug in MySQL and MariaDB, no problem with Postgres

working on a fix...