Dear *,

I found that in a SQLFORM inside a controller it's not possible to use both parameters 'uploadfolder' and 'custom_store' of an 'upload' field because of a simple bug in sqlhtml.py where the line 1158 that is:

newfilename = field.store(source_file, original_filename)

is expectyed to be:

newfilename = field.store(source_file, original_filename, field.uploadfolder)

do developers agree with it? If so I am proud to contribute to web2py development :-)

my very 2 cent

    Manuele

Reply via email to