[Zope-dev] z3c.form bug with radio widget label
Marius Gedminas
marius at gedmin.as
Fri Dec 12 11:10:59 EST 2008
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?
https://bugs.launchpad.net/zope3
(Since https://bugs.launchpad.net/z3c.form doesn't exist.)
--
http://pov.lt/ -- Zope 3 consulting and development
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mail.zope.org/pipermail/zope-dev/attachments/20081212/4136fedf/attachment.bin
More information about the Zope-Dev
mailing list