Hello, from brands_controller with $queryResult=$this->Brand->Product->Query($query); it never gets to sap behavior afterFind , but if i use
with $queryResult=$this->Brand->Product->Find('list'); it works it there a reason for it? am i missing something? Best regards, here some more extra info.. brand model: public $hasMany = array('LineItem', 'Product' => array('className' => 'Product', 'dependent' => true)); product model: public $belongsTo = array('Brand'); public $actsAs = array('Sap'); sap behaviour : function afterFind(&$model, $results, $primary){ ....... return $results; } --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---