How can I catch errors in admin generator ?

Thanks for you help !

On Dec 2, 11:32 pm, "Jonathan Wage" <[EMAIL PROTECTED]> wrote:
> Sure, catch the error and display it in the template.
>
> - Jon
>
>
>
> On Tue, Dec 2, 2008 at 3:59 PM, Tipoun <[EMAIL PROTECTED]> wrote:
>
> > > You need to add onDelete: CASCADE to the relationship definition so that
> > the
> > > delete operations are cascaded at the dbms level.
>
> > But, if I don't want to delete the foreign key ? Can I just display an
> > error ?
>
> > On Dec 2, 10:48 pm, "Jonathan Wage" <[EMAIL PROTECTED]> wrote:
> > > 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-doc.
> > ..
> > > > ,
> > > > 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 &
> > Evangelisthttp://www.jwage.comhttp://www.doctrine-project.orghttp://
> >www.symfony-project.org
>
> --
> Jonathan H. Wage
> Open Source Software Developer & 
> Evangelisthttp://www.jwage.comhttp://www.doctrine-project.orghttp://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