i keep running into the same problem. there are at least 2 rows of data saved everytime a form is saved.
it's because of ajax validation!
if you're using CActiveForm and set enableAjaxValidation to true, when the form is submitted, it will be posting… more »
Tags: duplicate
yii: ajax validation and duplicated data
when creating a new record, i noticed the new record is duplicated (usually 3x but sometimes 4x, 5x...) it took me a while to realize this is caused by ajax validation. there are 2 things needed to be done from the code generated by gii. in the view… more »