#179 — QuillsEnabled breaks Static Text Portlet globally
by
Jan Hackel
—
last modified
Apr 23, 2009 10:26 AM
| State | Tested and confirmed closed |
|---|---|
| Version: | 1.7 |
| Area | Functionality |
| Issue type | Bug |
| Severity | Critical |
| Submitted by | Jan Hackel |
| Submitted on | Apr 14, 2009 |
| Responsible | Jan Hackel |
| Target release: | 1.7 |
(Originally reported by Duane Raymond here: http://groups.google.com/[…]/530c56b75494e683)
I've had an error adding a static portlet (and a few others but not all others) anywhere on my site for content types derived from the Document content type.
The traceback is below - but is a bit obscure.
Site Error
An error was encountered while publishing this resource.
RuntimeError
Sorry, a site error occurred.
Traceback (innermost last):
a.. Module ZPublisher.Publish, line 202, in publish_module_standard
b.. Module ZPublisher.Publish, line 150, in publish
c.. Module plone.app.linkintegrity.monkey, line 21, in zpublisher_exception_hook_wrapper
d.. Module Zope2.App.startup, line 221, in zpublisher_exception_hook
e.. Module ZPublisher.Publish, line 119, in publish
f.. Module ZPublisher.mapply, line 88, in mapply
g.. Module ZPublisher.Publish, line 42, in call_object
h.. Module plone.app.portlets.browser.formhelper, line 53, in __call__
i.. Module zope.formlib.form, line 770, in __call__
j.. Module zope.formlib.form, line 885, in render
k.. Module zope.formlib.form, line 764, in render
l.. Module plone.app.form._named, line 26, in __call__
m.. Module Shared.DC.Scripts.Bindings, line 313, in __call__
n.. Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec
o.. Module Products.PageTemplates.PageTemplateFile, line 129, in _exec
p.. Module Products.CacheSetup.patch_cmf, line 120, in PT_pt_render
q.. Module zope.tal.talinterpreter, line 271, in __call__
r.. Module zope.tal.talinterpreter, line 346, in interpret
s.. Module zope.tal.talinterpreter, line 891, in do_useMacro
t.. Module zope.tal.talinterpreter, line 346, in interpret
u.. Module zope.tal.talinterpreter, line 536, in do_optTag_tal
v.. Module zope.tal.talinterpreter, line 521, in do_optTag
w.. Module zope.tal.talinterpreter, line 516, in no_tag
x.. Module zope.tal.talinterpreter, line 346, in interpret
y.. Module zope.tal.talinterpreter, line 534, in do_optTag_tal
z.. Module zope.tal.talinterpreter, line 516, in no_tag
aa.. Module zope.tal.talinterpreter, line 346, in interpret
ab.. Module zope.tal.talinterpreter, line 745, in do_insertStructure_tal
ac.. Module Products.PageTemplates.Expressions, line 221, in evaluateStructure
ad.. Module zope.tales.tales, line 696, in evaluate
URL: file:/home/fairsay/webapps/primary/eggs/Plone-3.2.2-py2.4.egg/Products/CMFPlone/skins/plone_templates/main_template.pt
Line 78, Column 8
Expression: <StringExpr u'plone.portaltop'>
Names:
{'container': <+ at /FairSay/blog/funding-ecampaigning-in-kenya/++contextportlets++plone.rightcolumn/+>,
'context': <+ at /FairSay/blog/funding-ecampaigning-in-kenya/++contextportlets++plone.rightcolumn/+>,
'default': <object object at 0xb7f3c528>,
'here': <+ at /FairSay/blog/funding-ecampaigning-in-kenya/++contextportlets++plone.rightcolumn/+>,
'loop': {},
'nothing': None,
'options': {'args': ()},
'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x13f8318c>,
'request': <HTTPRequest, URL=http://www.fairsay.com/[…]/plone.portlet.static.Static>,
'root': <Application at >,
'template': <ImplicitAcquirerWrapper object at 0x13f915cc>,
'traverse_subpath': [],
'user': <PropertiedUser 'duane'>,
'view': <Products.Five.metaclass.AddForm object at 0x13bd13cc>,
'views': <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper object at 0x13bf758c>}ae.. Module Products.Five.browser.providerexpression, line 34, in __call__
af.. Module zope.viewlet.manager, line 104, in update
ag.. Module plone.app.layout.viewlets.common, line 215, in update
ah.. Module Products.CMFPlone.browser.navigation, line 255, in breadcrumbs
ai.. Module Products.CMFPlone.browser.navigation, line 255, in breadcrumbs
aj.. Module quills.app.browser.breadcrumbs, line 51, in breadcrumbs
ak.. Module Products.CMFPlone.browser.navigation, line 255, in breadcrumbs
al.. Module quills.app.browser.breadcrumbs, line 51, in breadcrumbs
am.. Module Products.CMFPlone.browser.navigation, line 255, in breadcrumbs
an.. Module quills.app.browser.breadcrumbs, line 51, in breadcrumbs
ao.. Module Products.CMFPlone.browser.navigation, line 255, in breadcrumbs
ap.. Module quills.app.browser.breadcrumbs, line 51, in breadcrumbs
...
...
...
gq.. Module Products.CMFPlone.browser.navigation, line 255, in breadcrumbs
gr.. Module quills.app.browser.breadcrumbs, line 51, in breadcrumbs
RuntimeError: maximum recursion depth exceeded in cmp (Also, the following error occurred while attempting to render the standard error message, please see the event log for full details: maximum recursion depth exceeded in cmp)
I've had an error adding a static portlet (and a few others but not all others) anywhere on my site for content types derived from the Document content type.
The traceback is below - but is a bit obscure.
Site Error
An error was encountered while publishing this resource.
RuntimeError
Sorry, a site error occurred.
Traceback (innermost last):
a.. Module ZPublisher.Publish, line 202, in publish_module_standard
b.. Module ZPublisher.Publish, line 150, in publish
c.. Module plone.app.linkintegrity.monkey, line 21, in zpublisher_exception_hook_wrapper
d.. Module Zope2.App.startup, line 221, in zpublisher_exception_hook
e.. Module ZPublisher.Publish, line 119, in publish
f.. Module ZPublisher.mapply, line 88, in mapply
g.. Module ZPublisher.Publish, line 42, in call_object
h.. Module plone.app.portlets.browser.formhelper, line 53, in __call__
i.. Module zope.formlib.form, line 770, in __call__
j.. Module zope.formlib.form, line 885, in render
k.. Module zope.formlib.form, line 764, in render
l.. Module plone.app.form._named, line 26, in __call__
m.. Module Shared.DC.Scripts.Bindings, line 313, in __call__
n.. Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec
o.. Module Products.PageTemplates.PageTemplateFile, line 129, in _exec
p.. Module Products.CacheSetup.patch_cmf, line 120, in PT_pt_render
q.. Module zope.tal.talinterpreter, line 271, in __call__
r.. Module zope.tal.talinterpreter, line 346, in interpret
s.. Module zope.tal.talinterpreter, line 891, in do_useMacro
t.. Module zope.tal.talinterpreter, line 346, in interpret
u.. Module zope.tal.talinterpreter, line 536, in do_optTag_tal
v.. Module zope.tal.talinterpreter, line 521, in do_optTag
w.. Module zope.tal.talinterpreter, line 516, in no_tag
x.. Module zope.tal.talinterpreter, line 346, in interpret
y.. Module zope.tal.talinterpreter, line 534, in do_optTag_tal
z.. Module zope.tal.talinterpreter, line 516, in no_tag
aa.. Module zope.tal.talinterpreter, line 346, in interpret
ab.. Module zope.tal.talinterpreter, line 745, in do_insertStructure_tal
ac.. Module Products.PageTemplates.Expressions, line 221, in evaluateStructure
ad.. Module zope.tales.tales, line 696, in evaluate
URL: file:/home/fairsay/webapps/primary/eggs/Plone-3.2.2-py2.4.egg/Products/CMFPlone/skins/plone_templates/main_template.pt
Line 78, Column 8
Expression: <StringExpr u'plone.portaltop'>
Names:
{'container': <+ at /FairSay/blog/funding-ecampaigning-in-kenya/++contextportlets++plone.rightcolumn/+>,
'context': <+ at /FairSay/blog/funding-ecampaigning-in-kenya/++contextportlets++plone.rightcolumn/+>,
'default': <object object at 0xb7f3c528>,
'here': <+ at /FairSay/blog/funding-ecampaigning-in-kenya/++contextportlets++plone.rightcolumn/+>,
'loop': {},
'nothing': None,
'options': {'args': ()},
'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x13f8318c>,
'request': <HTTPRequest, URL=http://www.fairsay.com/[…]/plone.portlet.static.Static>,
'root': <Application at >,
'template': <ImplicitAcquirerWrapper object at 0x13f915cc>,
'traverse_subpath': [],
'user': <PropertiedUser 'duane'>,
'view': <Products.Five.metaclass.AddForm object at 0x13bd13cc>,
'views': <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper object at 0x13bf758c>}ae.. Module Products.Five.browser.providerexpression, line 34, in __call__
af.. Module zope.viewlet.manager, line 104, in update
ag.. Module plone.app.layout.viewlets.common, line 215, in update
ah.. Module Products.CMFPlone.browser.navigation, line 255, in breadcrumbs
ai.. Module Products.CMFPlone.browser.navigation, line 255, in breadcrumbs
aj.. Module quills.app.browser.breadcrumbs, line 51, in breadcrumbs
ak.. Module Products.CMFPlone.browser.navigation, line 255, in breadcrumbs
al.. Module quills.app.browser.breadcrumbs, line 51, in breadcrumbs
am.. Module Products.CMFPlone.browser.navigation, line 255, in breadcrumbs
an.. Module quills.app.browser.breadcrumbs, line 51, in breadcrumbs
ao.. Module Products.CMFPlone.browser.navigation, line 255, in breadcrumbs
ap.. Module quills.app.browser.breadcrumbs, line 51, in breadcrumbs
...
...
...
gq.. Module Products.CMFPlone.browser.navigation, line 255, in breadcrumbs
gr.. Module quills.app.browser.breadcrumbs, line 51, in breadcrumbs
RuntimeError: maximum recursion depth exceeded in cmp (Also, the following error occurred while attempting to render the standard error message, please see the event log for full details: maximum recursion depth exceeded in cmp)
- Steps to reproduce:
- - Install Products.QuillsEnabled 1.7 (beta 3)
- Create a Page (document)
- Add a Static Text Portlet to it, which raises the error
Added by
Jan Hackel
on
Apr 16, 2009 08:06 PM
There is now a test-case at rev. 84418 (http://dev.plone.org/collective/changeset/84418). Work happens in branch /Quills/branches/issue-179-static-portlet-broken.
Issue state:
Unconfirmed
→
Confirmed
Responsible manager:
(UNASSIGNED)
→
jhackel
Added by
Jan Hackel
on
Apr 23, 2009 08:04 AM
There is a fix now at rev. 84946 (http://dev.plone.org/collective/changeset/84946).
Issue state:
Confirmed
→
Resolved
Added by
Jan Hackel
on
Apr 23, 2009 10:26 AM
Fix seems to work, as reported on the aforementioned mailing list.
Issue state:
Resolved
→
Tested and confirmed closed
No responses can be added.
If you can, please log in before submitting a reaction.
