Hi,

Not sure if I'm doing something wrong, but uploaded files are not showing 
correctly immediately after an update submit.

For reference (assuming there's already a row with id 1):

*model*
    db.define_table('test', Field('name'), Field('image', 'upload'))

*controller*
    form = SQLFORM(db.test, db.test(1), upload=URL('download'))
    form.accepts(request)
    return dict(a=form)

When I submit the above form with a different image, the previous image is 
shown (instead of the last submitted one).

Other fields (e.g. 'name') do show the latest data correctly.

I'm using latest web2py trunk on win 7.

Thanks,

   Carlos

Reply via email to