On Mon, 24 Aug 2009, Jake Barnes wrote: > Then I thought, "I guess all the times I tried to save before, without > an id, I was creating a new record in the database." But I looked in > the database, and there were no new records. So now I'm thinking that > id needs to be there in the array of submitted values, even if it has > no value, it needs to be there before the form will save it to the > database. But if this is so, shouldn't there be some kind of error, > for those situations where there is no id? > > Here I had a form that tested valid yet would not save to the > database. Doesn't that seem broken?
You haven't shown your schema or mentioned if this form was generated from a model or not. -- --~--~---------~--~----~------------~-------~--~----~ 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 symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---