Introduction:
This package fixes a Plone/Zope2 Acquisition bug for the OrderedMultiSelectWidget that appears in zope.app.form.browser.itemswidgets.py line 556.
Note: The itemswidgets.py 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 8Expression: <PathExpr standard:u’view/selected’>Names:{‘args’: (),‘context’: <zope.schema._field.List object at 0x2aaab329f110>,‘usage’: <zope.pagetemplate.pagetemplate.TemplateUsage object at 0x2aaab1800090>,‘view’: <zope.app.form.browser.itemswidgets.OrderedMultiSelectWidget object at 0x2aaaae5684d0>,‘views’: <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper object at 0x2aaab1800650>}Module zope.tales.expressions, line 217, in __call__Module zope.tales.expressions, line 211, in _evalModule zope.app.form.browser.itemswidgets, line 562, in selectedModule zope.schema.vocabulary, line 124, in getTermLookupError: XXXX
Installation:
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 zope.app.form and zope.formlib?
zope.app.form 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 plone.app.form. 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]
Metadata
Release files for collective.orderedmultiselectwidget 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| collective.orderedmultiselectwidget-0.1.zip | 11.3 kB | Without provenance | Details for collective.orderedmultiselectwidget-0.1.zip |
Release files / collective.orderedmultiselectwidget-0.1.zip
| Download URL | collective.orderedmultiselectwidget-0.1.zip |
|---|---|
| Size | 11.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fa1ea45e58f84dddca3a744181b461f8496d8501de710003561d2d7cec52fc0f
|
|
BLAKE2b-256 checksum How to use checksums |
6fe77855982f5497e2dded1d9d0dfae32a4ee3ba9ee9c52c88e04532546dbb65
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for collective.orderedmultiselectwidget 0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.