Snoopaki wrote:
> I found the error, it was on my behalf (as usual).
>
> I had a beforeSave() function in my model that replaced the $this-
>   
>> model->data['file'] value with the tmp_name value of the form. I was
>>     
> not aware that saveField() used $this->model->data['FieldName'] to
> store its value.
>
>   
I didn't know that either.
> I suppose it simply runs a save() function with the fieldList option
> after that.
>
> Anyway, I'm  back to business, thanx for the replies :)
>   
You've answered your own question :-)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to