if I use the display option in the admin generator to hide fields they  
disappear from the form but they are saved with null values. For  
instance, if I hide the updated_at field, when I save the form, the  
object is written to the database with an updated_at value of null.

In order to get the updated_at value set correctly I have to use  
unset($this['updated_at']) in the form class.

is this the expected behavior?? I would have imagined that hiding the  
field would have the same effect as unset??

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to