unicode formulator form input can't be saved as metadata

Bug #101511 reported by Andy Altepeter on 2005-09-21
Affects Status Importance Assigned to Milestone
Andy Altepeter

Bug Description

When using a formulator form to gather input that will be saved as metadata
(among other things), with the fields set to Unicode, saving the metadata via
binding.setValues doesn't work. I get a UnicodeDecodeError with the following tb:

Module Products.SilvaMetadata.Binding, line 128, in setValues
Module Products.SilvaMetadata.Binding, line 102, in validate
Module Products.SilvaMetadata.Binding, line 626, in validateData
Module Products.SilvaMetadata.Element, line 157, in validate
Module Products.Formulator.Field, line 303, in validate
Module Products.Formulator.Field, line 292, in _validate_helper
Module Products.Formulator.Validator, line 465, in validate

The formulator Validator unconditionally converts strings to unicode, without
testing whether they already are. Lines 138, 336 behave the same way.

Changed in silva:
assignee: nobody → aaltepet
Andy Altepeter (aaltepet) wrote :

fixes for this are in Formulator 1.11.3, released in the Silva-1.0 tarball.

Changed in silva:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers