On Sun, 18 Oct 2009, mini_alexander wrote:
> I make something like that:
>
> $record = new Photo();
> $record->data_photo = new Doctrine_Expression('NOW()');
> $record->save();
>
> And I have error:
>
> Validation failed in class Photo
> 1 field had validation error:
> * 1 validator failed on data_photo (notnull)
Looks like you have a field that cannot be null.
--
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---