the value is null?
On 8月26日, 上午1时40分, DragonFlyEye <dragonflyey...@gmail.com> wrote:
> Here's an interesting one. I don't know if this has something to do
> with using the Tree model behavior or not. What is happening is that,
> when I go to delete a record, the system clears all values except for
> the ID and leaves the record where it was.
>
> The delete() function seems pretty straight forward, even for the Tree
> behavior. I'm calling it like this:
> $this->NavigationNode->id = $this->params['form']['node'];
> $message = $this->NavigationNode->delete();
>
> And it's definitely working on the correct node_id. It just isn't
> deleting the record itself.
>
> Does anyone know why this would be? Thanks so much for your help!
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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
No comments:
Post a Comment