[Setup] Items in Plone Help Center not accessible

uli mueller uli.mueller at gmx.ch
Wed Jul 26 10:28:56 UTC 2006


Hi

I am using the Plone Help Center. When trying to access one of the items 
I always get an Exception "You are not allowed to access 'getReplies' in 
this context" raised in 
"portal_discussion.getDiscussionFor(here).getReplies()". this happens 
even if I am logged in as the owner/manager. Since I am rather new to 
Plone I have no idea how to fix this. Any hints?

Thank you, Uli


Installed Products:
Plone version: 2.0.4
Zope version: (Zope 2.7.4-0, python 2.4.0, linux2)
Apache version:
CMF version (if known): CMF-1.4.7
...
ATContentTypes 0.2.0-final (CVS/Unreleased) installed
Archetypes 1.3.2-final installed
...
CMFContentPanels 1.9.1 installed
...
PloneHelpCenter 0.4 (Unreleased) installed
...

Traceback:
Zeit
     2006/07/26 14:09:36.802 GMT+2
Benutzername
     myuser
Request URL

http://www.xxxx.de/xxxx/projects-de/a4pint-de/a4pHelpCenter/a4pfaqs/a4pfaqdataloc
Exception Type
     Unauthorized
Exception Value
     You are not allowed to access 'getReplies' in this context

Traceback (innermost last):

     * Module ZPublisher.Publish, line 101, in publish
     * Module ZPublisher.mapply, line 88, in mapply
     * Module ZPublisher.Publish, line 39, in call_object
     * Module Products.CMFCore.PortalContent, line 116, in __call__
     * Module Shared.DC.Scripts.Bindings, line 306, in __call__
     * Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec
     * Module Products.CMFCore.FSPageTemplate, line 191, in _exec
     * Module Products.CMFCore.FSPageTemplate, line 124, in pt_render
     * Module Products.PageTemplates.PageTemplate, line 96, in pt_render
       <FSPageTemplate at /xxxx/faq_view used for 
/xxxx/projects-de/a4pint-de/a4pHelpCenter/a4pfaqs/a4pfaqdataloc>
     * Module TAL.TALInterpreter, line 190, in __call__
     * Module TAL.TALInterpreter, line 234, in interpret
     * Module TAL.TALInterpreter, line 671, in do_useMacro
     * Module TAL.TALInterpreter, line 234, in interpret
     * Module TAL.TALInterpreter, line 409, in do_optTag_tal
     * Module TAL.TALInterpreter, line 394, in do_optTag
     * Module TAL.TALInterpreter, line 389, in no_tag
     * Module TAL.TALInterpreter, line 234, in interpret
     * Module TAL.TALInterpreter, line 702, in do_defineSlot
     * Module TAL.TALInterpreter, line 234, in interpret
     * Module TAL.TALInterpreter, line 409, in do_optTag_tal
     * Module TAL.TALInterpreter, line 394, in do_optTag
     * Module TAL.TALInterpreter, line 389, in no_tag
     * Module TAL.TALInterpreter, line 234, in interpret
     * Module TAL.TALInterpreter, line 650, in do_defineMacro
     * Module TAL.TALInterpreter, line 234, in interpret
     * Module TAL.TALInterpreter, line 702, in do_defineSlot
     * Module TAL.TALInterpreter, line 234, in interpret
     * Module TAL.TALInterpreter, line 409, in do_optTag_tal
     * Module TAL.TALInterpreter, line 394, in do_optTag
     * Module TAL.TALInterpreter, line 389, in no_tag
     * Module TAL.TALInterpreter, line 234, in interpret
     * Module TAL.TALInterpreter, line 671, in do_useMacro
     * Module TAL.TALInterpreter, line 234, in interpret
     * Module TAL.TALInterpreter, line 637, in do_condition
     * Module TAL.TALInterpreter, line 234, in interpret
     * Module TAL.TALInterpreter, line 409, in do_optTag_tal
     * Module TAL.TALInterpreter, line 394, in do_optTag
     * Module TAL.TALInterpreter, line 389, in no_tag
     * Module TAL.TALInterpreter, line 234, in interpret
     * Module TAL.TALInterpreter, line 611, in do_loop_tal
     * Module Products.PageTemplates.TALES, line 206, in setRepeat
     * Module Products.PageTemplates.TALES, line 221, in evaluate
       URL: /xxxx/main_template
       Line 47, Column 8
       Expression: <PythonExpr portal.sort_modified_ascending( 
portal_discussion.getDiscussionFor(here).getReplies())>
       Names:

       {'container': <PloneSite instance at 2ad8bc372f80>,
        'context': <HelpCenterFAQ at 
/xxxx/projects-de/a4pint-de/a4pHelpCenter/a4pfaqs/a4pfaqdataloc>,
        'default': <Products.PageTemplates.TALES.Default instance at 
0x2ad8bac7ce18>,
        'here': <HelpCenterFAQ at 
/xxxx/projects-de/a4pint-de/a4pHelpCenter/a4pfaqs/a4pfaqdataloc>,
        'loop': <SafeMapping instance at 2aaaab14bb50>,
        'modules': 
<Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 
0x2ad8bac7ce60>,
        'nothing': None,
        'options': {'args': ()},
        'repeat': <SafeMapping instance at 2aaaab14bb50>,
        'request': <HTTPRequest, 
URL=http://www.xxxx.de/xxxx/projects-de/a4pint-de/a4pHelpCenter/a4pfaqs/a4pfaqdataloc>,
        'root': <Application instance at 2ad8bc233440>,
        'template': <FSPageTemplate at /xxxx/faq_view used for 
/xxxx/projects-de/a4pint-de/a4pHelpCenter/a4pfaqs/a4pfaqdataloc>,
        'traverse_subpath': [],
        'user': ulim}

     * Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
       __traceback_info__: portal.sort_modified_ascending( 
portal_discussion.getDiscussionFor(here).getReplies())
     * Module Python expression "portal.sort_modified_ascending( 
portal_discussion.getDiscussionFor(here).getReplies())", line 1, in 
<expression>






More information about the Setup mailing list