I'm trying to use the TreeBehaviour at the same time as other behaviours and I've noticed that after the TreeBehaviour gets hold of the data array during a save operation, the "id" field in the Data is missing, which is causing my other behaviour a bit of a problem.
I can see from the TreeBehaviour's source that it unsets this value on line 148 in its beforeSave function: unset($model->data[$model->alias][$model->primaryKey]); I'm working around it by placing 'Tree' last in my actsAs array, which means my other Behaviour gets to the data first, but any afterSave callbacks will be too late to benefit. Is this intended behaviour? Am I missing something important? Thanks! I'm using 1.2 RC3 by the way --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
