Misleading message and incorrect translation for optional vocabulary based fields

Bug #269782 reported by Charlie_X
2
Affects Status Importance Assigned to Milestone
Zope 3
Won't Fix
Undecided
Charlie_X
zope.formlib
Fix Released
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.

Revision history for this message
Charlie_X (charlie) wrote :
Tres Seaver (tseaver)
Changed in zope3:
status: New → Won't Fix
Tres Seaver (tseaver)
tags: added: bugday20100424
Revision history for this message
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)
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.