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 suppose it simply runs a save() function with the fieldList option after that. Anyway, I'm back to business, thanx for the replies :) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
