@ Alex, I tried it--didn't work :(
Any other ideas? On Nov 3, 6:46 pm, Alex Pilon <[email protected]> wrote: > Check onDelete: cascade on your relations. > > On Nov 3, 2010 6:03 PM, "xpanshun" <[email protected]> wrote: > > Hi all, > > I have my backend set up and was testing out the functions (i.e. edit, > delete, new, etc.). All was well until I tried to modify a table that > is connected to a couple other tables. I was not even attempting to > change the value of a fk field--I was editing a different field that > was rather frivolous. Nonetheless, I got this error: > > SQLSTATE[HY000]: General error: 1452 Cannot add or update a > child row: a foreign key constraint fails > > So why won't the update go through, even though I am not changing any > fk field? > > Would appreciate any guidance. Thanks a bunch... > > -- > If you want to report a vulnerability issue on symfony, please send it to > security at symfony-project.com > > You received this message because you are subscribed to the Google > Groups "symfony users" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<symfony-users%2bunsubscr...@goog > legroups.com> > For more options, visit this group > athttp://groups.google.com/group/symfony-users?hl=en -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" 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/symfony-users?hl=en
