Ticket #556 (closed task: fixed)
Error on "Other" selection in Open Content License widget
| Reported by: | anna | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 4.0 zFinal |
| Component: | ContentLicensing | Severity: | |
| Keywords: | Cc: | ||
| Who will test this: | And |
Description
Uploading a test video tonight I found an error when clicking "Other" in the license chooser in Step 2.
We’re sorry, but there seems to be an error…
Here is the full error message:
Display traceback as text
Traceback (innermost last):
- Module ZPublisher.Publish, line 127, in publish
- Module ZPublisher.mapply, line 77, in mapply
- Module ZPublisher.Publish, line 47, in call_object
- Module Products.CMFFormController.FSControllerPageTemplate, line 91, in call
- Module Products.CMFFormController.BaseControllerPageTemplate?, line 31, in _call
- Module Shared.DC.Scripts.Bindings, line 324, in call
- Module Shared.DC.Scripts.Bindings, line 361, in _bindAndExec
- Module Products.CMFCore.FSPageTemplate, line 240, in _exec
- Module Products.CMFCore.FSPageTemplate, line 180, in pt_render
- Module Products.PageTemplates.PageTemplate?, line 80, in pt_render
- Module zope.pagetemplate.pagetemplate, line 113, in pt_render
- Module zope.tal.talinterpreter, line 271, in call
- Module zope.tal.talinterpreter, line 343, in interpret
- Module zope.tal.talinterpreter, line 888, in do_useMacro
- Module zope.tal.talinterpreter, line 343, in interpret
- Module zope.tal.talinterpreter, line 533, in do_optTag_tal
- Module zope.tal.talinterpreter, line 518, in do_optTag
- Module zope.tal.talinterpreter, line 513, in no_tag
- Module zope.tal.talinterpreter, line 343, in interpret
- Module zope.tal.talinterpreter, line 954, in do_defineSlot
- Module zope.tal.talinterpreter, line 343, in interpret
- Module zope.tal.talinterpreter, line 533, in do_optTag_tal
- Module zope.tal.talinterpreter, line 518, in do_optTag
- Module zope.tal.talinterpreter, line 513, in no_tag
- Module zope.tal.talinterpreter, line 343, in interpret
- Module zope.tal.talinterpreter, line 858, in do_defineMacro
- Module zope.tal.talinterpreter, line 343, in interpret
- Module zope.tal.talinterpreter, line 954, in do_defineSlot
- Module zope.tal.talinterpreter, line 343, in interpret
- Module zope.tal.talinterpreter, line 533, in do_optTag_tal
- Module zope.tal.talinterpreter, line 518, in do_optTag
- Module zope.tal.talinterpreter, line 513, in no_tag
- Module zope.tal.talinterpreter, line 343, in interpret
- Module zope.tal.talinterpreter, line 946, in do_defineSlot
- Module zope.tal.talinterpreter, line 343, in interpret
- Module zope.tal.talinterpreter, line 376, in do_startEndTag
- Module zope.tal.talinterpreter, line 405, in do_startTag
- Module zope.tal.talinterpreter, line 482, in attrAction_tal
- Module Products.PageTemplates.Expressions, line 227, in evaluateText
- Module zope.tales.tales, line 696, in evaluate URL: file:/home/plone/testing-4.plumi.org/src/collective.contentlicensing/collective/contentlicensing/skins/ContentLicensing/create_license.cpt Line 42, Column 16 Expression: <PathExpr? standard:u'tabindex/next'> Names:
{'container': <PloneSite? at /Plone>,
'context': <PlumiVideoFolder? at /Plone/Members/anna/videos>, 'default': <object object at 0x1082480>, 'here': <PlumiVideoFolder? at /Plone/Members/anna/videos>, 'loop': {}, 'nothing': None, 'options': {'args': (),
'state': <Products.CMFFormController.ControllerState?.ControllerState? object at 0xf982f50>},
'repeat': <Products.PageTemplates.Expressions.SafeMapping? object at 0x1016f158>, 'request': <HTTPRequest, URL= http://testing.plumi.org/Members/anna/videos/create_license>, 'root': <Application at >, 'template': <FSControllerPageTemplate at /Plone/create_license used for /Plone/Members/anna/videos>, 'traverse_subpath': [], 'user': <PloneUser? 'anna'>}
- Module zope.tales.expressions, line 217, in call
- Module Products.PageTemplates.Expressions, line 149, in _eval
- Module zope.tales.expressions, line 118, in _eval
KeyError?: 'tabindex'
The Plone® Open Source CMS/WCM is © 2000-2010 by the Plone Foundation and friends. Distributed under the GNU GPL license.
- Powered by Plone, the Open Source Content Management System
- This Plone site was designed by Spring In Alaska

It was a bug in collective.contentlicensing. Fixed and committed it on the collective.contentlicensing plone4 compatibility branch.