Hi there,
I think I've found another bug when using GAE + Cloud SQL. (Note this is
assuming you've amended the GoogleSQLAdapter as per another issue)
Assuming the following:
db.define_table('test', Field('image', 'upload'))
def index():
form = SQLFORM.factory(Field('image', 'upload'), _action = URL(f = 'save'))
return dict(form = form)
def save():
db.test.insert(image = db.test.image.store(request.vars.image.file,
request.vars.image.filename))
return 'check image_blob will be null in this case'
The 'image' field is being updated correctly although the 'image_blob'
remains NULL.
Any suggestions for this? Should I raise an issue?
Thanks in advance,
Matt