Hi Yao,
You're right, trying to convert the error into a str instance is
clearly wrong. I'm not sure why it's converted at all, but I'm
guessing it's because the error may also be an exception instance.
I'll try to take a look soon.
- Matt
> --
> You received this message because you are subscribed to the Google Groups "ish.io" group.
> To post to this group, send an email to is...@googlegroups.com.
> To unsubscribe from this group, send email to ishio+un...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/ishio?hl=en-GB.
>
>
The use of str() and string concatenation in several places in formish
also breaks the use of zope.messageid and translationstring, making it
impossible to use translatable error messages. I carry a fairly nasty
monkeypatch in my projects as a workaround, but it would be nice to see
a better approach.
Wichert.