On Fri, Dec 12, 2008 at 02:33:53PM +0000, Johannes Raggam wrote:
> hey,
> i guess i found a bug in z3c.form.browser.radio.
> in z3c.form.browser.radio, line 49 (class RadioWidget, def update), the 
> line should read
> label = term.value

You can't assume ``value`` will be a string.  People routinely use
all sorts of objects there.

> instead of label = term.token
> we found this, while trying to display some unicode characters (umlaute) 
> in radio widget labels.

You should really be explicitly specifying the titles for your terms.

> this issue is still valid in current trunk (file revision 78513).
> i report it here, because i could not find a bug tracker for z3c.form. is 
> there any?


(Since https://bugs.launchpad.net/z3c.form doesn't exist.)

http://pov.lt/ -- Zope 3 consulting and development

Attachment: signature.asc
Description: Digital signature

Zope-Dev maillist  -  Zope-Dev@zope.org
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to