Ticket #13471 (confirmed Bug)

Opened 3 years ago

Last modified 3 years ago

Unauthorized error at Collection RSS Feed which lists last comments

Reported by: juh Owned by:
Priority: major Milestone: 4.x
Component: General Version: 4.2
Keywords: Cc:

Description

I get this error, when I try to access the RSS feed of a collection in Plone 4.2.3 which lists last comments. Any other content type works fine.

Traceback (innermost last):
  Module ZPublisher.Publish, line 126, in publish
  Module ZPublisher.mapply, line 77, in mapply
  Module ZPublisher.Publish, line 46, in call_object
  Module Products.CMFCore.FSPythonScript, line 127, in __call__
  Module Shared.DC.Scripts.Bindings, line 322, in __call__
  Module Shared.DC.Scripts.Bindings, line 359, in _bindAndExec
  Module Products.PythonScripts.PythonScript, line 344, in _exec
  Module script, line 1, in rss
   - <FSPythonScript at /Plone/rss used for /Plone/kommentare>
   - Line 1
  Module Shared.DC.Scripts.Bindings, line 322, in __call__
  Module Shared.DC.Scripts.Bindings, line 359, in _bindAndExec
  Module Products.CMFCore.FSPageTemplate, line 237, in _exec
  Module Products.CMFCore.FSPageTemplate, line 177, in pt_render
  Module Products.PageTemplates.PageTemplate, line 79, 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 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 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 821, in do_loop_tal
  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 620, in do_insertText_tal
  Module Products.PageTemplates.Expressions, line 225, in evaluateText
  Module zope.tales.tales, line 696, in evaluate
   - URL: file:/Users/juh/Applications/Plone423/buildout-cache/eggs/Products.CMFPlone-4.2.3-py2.7.egg/Products/CMFPlone/skins/plone_templates/rss_template.pt
   - Line 79, Column 4
   - Expression: <PathExpr standard:u'obj_item/Type'>
   - Names:
      {'container': <PloneSite at /Plone>,
       'context': <Collection at /Plone/kommentare>,
       'default': <object object at 0x100294b40>,
       'here': <Collection at /Plone/kommentare>,
       'loop': {u'brain': <Products.PageTemplates.Expressions.PathIterator object at 0x10c4958d0>},
       'nothing': None,
       'options': {'args': ()},
       'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x10c499e68>,
       'request': <HTTPRequest, URL=http://localhost:8080/Plone/kommentare/rss>,
       'root': <Application at >,
       'template': <FSPageTemplate at /Plone/RSS used for /Plone/kommentare>,
       'traverse_subpath': [],
       'user': <PropertiedUser 'admin'>}
  Module zope.tales.expressions, line 217, in __call__
  Module Products.PageTemplates.Expressions, line 147, in _eval
  Module zope.tales.expressions, line 124, in _eval
  Module Products.PageTemplates.Expressions, line 74, in boboAwareZopeTraverse
  Module OFS.Traversable, line 317, in restrictedTraverse
  Module OFS.Traversable, line 251, in unrestrictedTraverse
   - __traceback_info__: ([], 'Type')
Unauthorized: You are not allowed to access 'Type' in this context

Change History

comment:1 Changed 3 years ago by juh

I get this error when logged in as admin.

comment:2 Changed 3 years ago by kleist

  • Status changed from new to confirmed
  • Priority changed from minor to major
  • Component changed from Unknown to General
Note: See TracTickets for help on using tickets.