Misleading message and incorrect translation for optional vocabulary based fields

Bug #269782 reported by Charlie_X on 2008-09-13
2
Affects Status Importance Assigned to Milestone
Zope 3
Undecided
Charlie_X
zope.formlib
Undecided
Charlie_X

Bug Description

Although it is possible to have Choice fields which are optional (required=False) the default message "(no value)" in the rendered form suggests that the user is required to select a value. This is particularly apparent in the German translation which is a literal translation of the message id and not the default: "vocabulary-missing-single-value-for-edit" as opposed to "(no value)". This is confusing for users who know nothing about Zope vocabularies or sources.

I suggest that the default be "(nothing selected)" which is a better description especially if a user wishes to have no value selected for a field. The enclosed patch has a new default "(nothing selected)" for both single and multiple select fields and the relevant German translation.

Charlie_X (charlie) wrote :
Tres Seaver (tseaver) on 2010-04-15
Changed in zope3:
status: New → Won't Fix
Tres Seaver (tseaver) on 2010-04-21
tags: added: bugday20100424
Charlie_X (charlie) wrote :

Changed in Revision 111361, 111363 and 111364

Changed in zope3:
assignee: nobody → Charlie_X (charlie)
affects: zope.schema → zope.formlib
Changed in zope.formlib:
status: New → Fix Committed
assignee: nobody → Charlie_X (charlie)
Tres Seaver (tseaver) wrote :

Fix released with zope.formlib 4.0.3:

 http://pypi.python.org/pypi/zope.formlib/4.0.3

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

Other bug subscribers