You need to add onDelete: CASCADE to the relationship definition so that the
delete operations are cascaded at the dbms level.

- Jon

On Tue, Dec 2, 2008 at 3:33 PM, Tipoun <[EMAIL PROTECTED]> wrote:

>
> Hi,
>
> I try to follow this tutorial:
>
> http://www.symfony-project.org/blog/2008/11/07/new-in-symfony-1-2-doctrine-goodies
> ,
> but I have a big problem:
> When I want to delete a row in admin (an article for example), I can't
> and the most important: I have no errors...
> It happens when the record has a foreign key with another table (I use
> MySQL).
>
> How can I fix it ?
>
> Thanks,
> Tipoun
>
> >
>


-- 
Jonathan H. Wage
Open Source Software Developer & Evangelist
http://www.jwage.com
http://www.doctrine-project.org
http://www.symfony-project.org

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to