Cannot update document

Hi, I posted the same question on stackoverflow but nobody answer me. I need some help please! I can't update a document with Phalcon MongoCollection from Incubator 3.3.

My test is:

<?php
$category = CategoryModel::findById($id);
$category->title = 'uno';
$category->save();

After extecute I don't get any error after save() but data are not updated. I have also tried with incubator 3.4 and 3.2 Anyone can give me a hand, please ?

Temporary solved by adding some temporary lines inside mongoCollection, see more here: https://stackoverflow.com/questions/52769883/phalcon-mongodb-cannot-update/52824807#52824807



121

Thanks for the decision)