Finally I found my mistake... I just forgot to add the following line unset($this['created_at'], $this['updated_at']);
in the form class. Thanks for the help -- Adrien On 5 avr, 14:27, Adrien Mogenet <[email protected]> wrote: > Unfortunately, it didn't work :-( > Don't know what I should try... > > -- > Adrien > > On 3 avr, 23:22, Arnold Ispan <[email protected]> wrote: > > > Hello, > > > Maybe the solution is to rebuild forms and filters with *propel:build-forms > > *and *propel:build-filters* > > > On Fri, Apr 3, 2009 at 11:41 PM, Adrien Mogenet > > <[email protected]>wrote: > > > > Hi all, > > > > I have a classical entity, let say `member`, with `created_at` and > > > `updated_at` fields. > > > I performed a propel:build-model, I generated CRUD module, and when I > > > removed created_at and updated_at fields from the form's template, > > > their values are set to empty once I submit the form... > > > > How can I avoid this behaviour easily ? > > > > -- > > > Adrien --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
