[silva-dev] Another UnicodeError in editing image title
Guido Wesdorp
guido at infrae.com
Thu Aug 28 15:09:44 CEST 2003
Juan Carlos CORUÑA wrote:
> I'm testing the Silva product and I discovered another UnicodeError bug.
It seems that it was already fixed in HEAD (Silva 0.9.3), but not yet in
the 0.9.2 branch, so I did that now and checked it in. To use the fixed
code, do a CVS checkout or wait for the next 0.9.2.5 release. You could
also patch Silva yourself:
views/edit/Asset/Image/form.form:
there are two <unicode> definitions in the file, remove one and make
sure the other one looks like this: <unicode type="int">1</unicode>
views/edit/Asset/Image/submit.py, change line 11:
model.set_title(model.input_convert(result['image_title']))
to:
model.set_title(result['image_title'])
Good luck!
Cheers,
Guido
More information about the silva-dev
mailing list