Thanks! But did you link to the wrong post? It doesn't seem to be related...
I've tried adding logic to the form, but I just don't know the form system well enough to determine what should be modified. I think I need to remove the filename field before it's written to the Image object I'm working on. That appears to happen in the updateObject() method of the form, but I haven't yet figured out how to remove the field. On Nov 17, 9:38 pm, Loïc Vernet <[EMAIL PROTECTED]> wrote: > Check this post, i had the same issue: > > -->http://groups.google.com/group/symfony-devs/browse_thread/thread/be2b... > > ________________________________ > De : Jonathan Franks <[EMAIL PROTECTED]> > À : symfony-users@googlegroups.com > Envoyé le : Lundi, 17 Novembre 2008, 21h23mn 43s > Objet : [symfony-users] Re: File upload deletes previous file if field is > empty > > You haven't done anything wrong - the example in the tutorial does > delete previous uploads if the upload field is left empty. > > You need to add extra logic to your form in order to prevent this from > happening. --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---