Please be aware that CakePHP v. 2.0 is a development version, thus it
may be buggy :) so maybe you should revert to CakePHP v. 1.3.x unless
you are testing the new version!

Just for trying something, try setting recursive to -1 before the
delete statement :)
Enjoy,
   John

On 8 Feb., 16:07, Matthias <matthias.gruetz...@googlemail.com> wrote:
> The problem still exists...
>
> I found out that I can get around it when I first execute this query:
> $temp = $this->Workshop->WorkshopDescription->find('all');
>
> Looks like the find-method builds the joins correctly, so the
> following delete-method works as expected. When I delete that line, I
> still get the error. Looks like a bug...
>
> Also I tried the following:
> $temp = $this->Workshop->WorkshopDescription->find('count');
> $temp = $this->Workshop->WorkshopDescription->find('all');
> $temp = $this->Workshop->WorkshopDescription->find('count');
[snip some result]

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


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

Reply via email to