Have you got debug set to 2 and are you able to echo your SQL dump to see the order in which your queries are being ran?
The whole idea of callbacks is that they are related to their respective find, save or delete actions and as such I cannot see how a find could execute in-between a save and it's afterSave callback. For starters those two things normally happen in different actions within your controller Save in add() or edit() Find with sort in index() To really help you we would need to see the relevant parts of your models and controllers. But it would also be good if you could show us proof of the SQL queries being executed in the wrong order, as that does not seem as hough it could happen. HTH Paul. Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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
