cphalcon
cphalcon copied to clipboard
Events in Phalcon\Mvc\Collection
It seems like there are duplicate events in the _preSave method in Phalcon\Mvc\Collection. The events are in the following order:
beforeValidation beforeValidationOnCreate beforeValidationOnUpdate
validation onValidationFails afterValidationOnCreate afterValidationOnUpdate afterValidation beforeSave beforeUpdate beforeCreate
validation onValidationFails afterValidationOnCreate afterValidationOnUpdate afterValidation beforeSave beforeUpdate beforeCreate
Hi, you're right, I added a fix for this in 0.8.0, thanks
Thank you again for the extremely quick fix.