-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Save an already existing attribute creates a new one. #5
Comments
multiple entries per model in eavAttr table is by design. What is your problem? |
Multiple entries for the same attribute by design? I don't think so. |
Okay, now I got your problem. |
Thank you for your attention. There's a "delete" command executed before the insert is done, but executes returning 0 rows. |
Hi.
|
How to reproduce:
$model = Model::model()->findByPk($pk);
$model->setEavAttribute('attribute', 'value');
$model->save();
Now there's two records at the EavAttr table for the same entity and attibute.
Any guidance?
TIA!
The text was updated successfully, but these errors were encountered: