This is a problem I just came up against and I can't figure out what might be causing it.
I have a Category model that actsAs tree. When I submit a form to edit or create a category, nothing happens. Adding debug code to my controller to output the value of $this->data as the very first line in the action, I see that it is an empty array. So clearly, the array is being defined, but not populated. Or else something is depopulating it? What could cause such behavior? The model has no validation or anything else defined in it other than actsAs. The controller has no beforeFilter. However, I am running cakephp authentication and this page is requires authentication and runs under https. These are managed in the app_controller but this has not presented any kind of problem for any of my other models. Only the Category model is affected. Incidentally, I have no trouble with $this->Category->read(null,$id) to populate my form with information about a category (I added my root category manually to the db). 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
