Index: openacs-4/packages/xowiki/tcl/xowiki-www-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/xowiki-www-procs.tcl,v diff -u -r1.296 -r1.297 --- openacs-4/packages/xowiki/tcl/xowiki-www-procs.tcl 28 May 2011 17:12:42 -0000 1.296 +++ openacs-4/packages/xowiki/tcl/xowiki-www-procs.tcl 23 Sep 2011 11:26:27 -0000 1.297 @@ -1878,7 +1878,17 @@ # foreach f $form_fields { $f convert_to_internal - } + } else { + # Reset the value of the form-field to avoid confusion, since + # the file-name was provided, but the file was not + # uploaded. Maybe a new method "reset-to-default" would be a + # good idea. + foreach f $form_fields { + if {[$f type] eq "file"} { + $f set value "" + } + } + } } my instance_attributes [array get __ia]