Silva SQL Sources: encoding errors in smi
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Silva |
Fix Released
|
Medium
|
Unassigned |
Bug Description
somehow along the development silva-1.3b3 has lost the ability to except non
us-ascii strings in the "columns" field. when i enter the statment (b) in this
field you get an nasty error upon saving the document:
Error saving your data.
Response status: 500
Check your server log for more information.
the log file says:
Exception Type UnicodeEncodeError
Exception Value 'ascii' codec can't encode characters
(traceback 2 below)
this error cannot be found in silva-0.9.1.13 and silva-1.1.5. i guess this is a
kupu problem here because the forms editor does not complain.
Traceback (innermost last):
Module ZPublisher.Publish, line 101, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 39, in call_object
Module Products.
Module Products.
Module Products.
Module Products.
Module Products.
Module Products.
Module Products.
Module Products.
Module Products.
Module Products.
UnicodeEncodeError: 'ascii' codec can't encode characters in position 124-125:
ordinal not in range(128)
Found and reproduced, should be fixed on the current trunk of SilvaDocument.
Please test.