Skip to main content

Provides SecureOrderedMultiSelectWidget which fixes an acquisition bug in OrderedMultiSelectWidget in

Project description


This package fixes a Plone/Zope2 Acquisition bug for the OrderedMultiSelectWidget that appears in line 556.

Note: The module has been moved to zope.formlib in newer versions of zope/ztk.

The OrderedMultiSelectWidget is used automatically for zope.schema.List type fields.

How do I know if this bug affects me?

If you get errors in your traceback or error_log similar to the one below, you might have be affected: (XXX is variable)

Line 166, Column 8
Expression: <PathExpr standard:u’view/selected’>
{‘args’: (),
‘context’: <zope.schema._field.List object at 0x2aaab329f110>,
‘usage’: <zope.pagetemplate.pagetemplate.TemplateUsage object at 0x2aaab1800090>,
‘view’: < object at 0x2aaaae5684d0>,
‘views’: < object at 0x2aaab1800650>}
Module zope.tales.expressions, line 217, in __call__
Module zope.tales.expressions, line 211, in _eval
Module, line 562, in selected
Module zope.schema.vocabulary, line 124, in getTerm
LookupError: XXXX


Just make sure that collective.orderedmultiselectwidget is installed via the plone control panel or the portal_quickinstaller tool in the ZMI.

Afterwards it should just work.

Why not fix the bug in and zope.formlib? and zope.formlib are Plone/Zope2/Acquisition agnostic. They do not depend on Acquisition and no one will want them to.

A bug might however be contributed to I’ll contact the dev-list, but for now, this is a bug-fix package for people being affected on in-production systems.

Change History:

0.1 (unreleased)

  • Initial release [jcbrand]

Project details

Release history Release notifications | RSS feed

This version


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution (11.3 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page