I have the login popup each time i want to access Any content (workspace, document, breves, forum, blog, section , etc...).
Here is the traceback when i want to access cps/section/news/:

Traceback (innermost last):

  • Module ZPublisher.Publish, line 187, in publish_module_standard
  • Module Products.Localizer, line 60, in new_publish
  • Module ZPublisher.Publish, line 144, in publish
  • Module Products.CPSCompat.PatchPublisherConflictErrors , line 95, in zpublisher_exception_hook
  • Module ZPublisher.Publish, line 113, in publish
  • Module ZPublisher.mapply, line 88, in mapply
  • Module ZPublisher.Publish, line 40, in call_object
  • Module Shared.DC.Scripts.Bindings, line 311, in __call__
  • Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
  • Module Products.CMFCore.FSPageTemplate, line 195, in _exec
  • Module Products.CMFCore.FSPageTemplate , line 134, in pt_render
  • Module Products.PageTemplates.PageTemplate, line 104, in pt_render
    <FSPageTemplate at /cps/folder_view used for /cps/sections/news>
  • Module TAL.TALInterpreter, line 238, in __call__
  • Module TAL.TALInterpreter, line 281, in interpret
  • Module TAL.TALInterpreter , line 728, in do_defineMacro
  • Module TAL.TALInterpreter, line 281, in interpret
  • Module TAL.TALInterpreter, line 457, in do_optTag_tal
  • Module TAL.TALInterpreter, line 442, in do_optTag
  • Module TAL.TALInterpreter, line 437, in no_tag
  • Module TAL.TALInterpreter, line 281, in interpret
  • Module TAL.TALInterpreter, line 749, in do_useMacro
  • Module TAL.TALInterpreter, line 281, in interpret
  • Module TAL.TALInterpreter, line 457, in do_optTag_tal
  • Module TAL.TALInterpreter, line 442, in do_optTag
  • Module TAL.TALInterpreter, line 437, in no_tag
  • Module TAL.TALInterpreter, line 281, in interpret
  • Module TAL.TALInterpreter, line 715, in do_condition
  • Module TAL.TALInterpreter, line 281, in interpret
  • Module TAL.TALInterpreter, line 749, in do_useMacro
  • Module TAL.TALInterpreter , line 281, in interpret
  • Module TAL.TALInterpreter, line 715, in do_condition
  • Module TAL.TALInterpreter, line 281, in interpret
  • Module TAL.TALInterpreter, line 457, in do_optTag_tal
  • Module TAL.TALInterpreter, line 442, in do_optTag
  • Module TAL.TALInterpreter, line 437, in no_tag
  • Module TAL.TALInterpreter, line 281, in interpret
  • Module TAL.TALInterpreter, line 691, in do_loop_tal
  • Module TAL.TALInterpreter, line 281, in interpret
  • Module TAL.TALInterpreter, line 457, in do_optTag_tal
  • Module TAL.TALInterpreter, line 442, in do_optTag
  • Module TAL.TALInterpreter, line 437, in no_tag
  • Module TAL.TALInterpreter, line 281, in interpret
  • Module TAL.TALInterpreter, line 691, in do_loop_tal
  • Module TAL.TALInterpreter, line 281, in interpret
  • Module TAL.TALInterpreter, line 457, in do_optTag_tal
  • Module TAL.TALInterpreter, line 442, in do_optTag
  • Module TAL.TALInterpreter, line 437, in no_tag
  • Module TAL.TALInterpreter, line 281, in interpret
  • Module TAL.TALInterpreter, line 715, in do_condition
  • Module TAL.TALInterpreter, line 281, in interpret
  • Module TAL.TALInterpreter, line 457, in do_optTag_tal
  • Module TAL.TALInterpreter, line 442, in do_optTag
  • Module TAL.TALInterpreter, line 437, in no_tag
  • Module TAL.TALInterpreter, line 281, in interpret
  • Module TAL.TALInterpreter, line 691, in do_loop_tal
  • Module TAL.TALInterpreter, line 281, in interpret
  • Module TAL.TALInterpreter, line 457, in do_optTag_tal
  • Module TAL.TALInterpreter, line 442, in do_optTag
  • Module TAL.TALInterpreter, line 437, in no_tag
  • Module TAL.TALInterpreter, line 281, in interpret
  • Module TAL.TALInterpreter, line 507, in do_setLocal_tal
  • Module Products.PageTemplates.TALES, line 221, in evaluate
    URL: file:CPSSkins/skins/CPSSkins/cpsskins_main_template_default.pt
    Line 41, Column 16
    _expression_: <PythonExpr isRenderable and content.render_cache(shield=shield, context_obj=context_obj, enable_esi=enable_esi, boxedit=boxedit, template=template, options=options)>
    Names:
    {'container': <CPSDefaultSite at /cps>,
    'context': <ProxyFolder at /cps/sections/news>,
    'default': <Products.PageTemplates.TALES.Default instance at 0x013C9CD8>,
    'here': <ProxyFolder at /cps/sections/news>,
    'loop': <Products.PageTemplates.TALES.SafeMapping object at 0x0487B5A8>,
    'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0x013BE288>,
    'nothing': None,
    'options': {'args': ()},
    'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0x0487B5A8>,
    'request': <HTTPRequest, URL="" href="http://localhost:81/cps/sections/news/folder_view">http://localhost:81/cps/sections/news/folder_view >,
    'root': <Application at >,
    'template': <FSPageTemplate at /cps/folder_view used for /cps/sections/news>,
    'traverse_subpath': [],
    'user': <User 'seternal'>}
  • Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
    __traceback_info__: isRenderable and content.render_cache(shield=shield, context_obj=context_obj, enable_esi=enable_esi, boxedit=boxedit, template=template, options=options)
  • Module Python _expression_ "isRenderable and content.render_cache(shield=shield, context_obj=context_obj, enable_esi=enable_esi, boxedit=boxedit, template=template, options=options)", line 1, in <_expression_>
  • Module Products.CPSSkins.PortalBoxGroup, line 313, in render_cache
  • Module Products.CPSSkins.PortalBoxGroup, line 258, in render
  • Module Products.CPSPortlets.CPSPortlet , line 487, in render_cache
  • Module Products.CPSDocument.CPSDocument, line 68, in render
  • Module Products.CPSDocument.FlexibleTypeInformation, line 752, in renderObject
  • Module Products.CPSDocument.FlexibleTypeInformation , line 714, in _renderLayouts
  • Module Products.CPSSchemas.Layout, line 391, in renderLayoutStructure
  • Module Products.CPSPortlets.CPSPortletWidget, line 78, in render
  • Module Products.CMFCore.FSPythonScript , line 108, in __call__
  • Module Shared.DC.Scripts.Bindings, line 311, in __call__
  • Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
  • Module Products.CMFCore.FSPythonScript, line 164, in _exec
  • Module None, line 58, in widget_portlet_document
    <FSPythonScript at /cps/widget_portlet_document used for /cps/portal_layouts/document_portlet/w__portlet>
    Line 58
  • Module Products.CPSDocument.CPSDocument, line 68, in render
  • Module Products.CPSDocument.FlexibleTypeInformation, line 752, in renderObject
  • Module Products.CPSDocument.FlexibleTypeInformation , line 714, in _renderLayouts
  • Module Products.CPSSchemas.Layout, line 391, in renderLayoutStructure
  • Module Products.CPSSchemas.BasicWidgets, line 2107, in render
  • Module Shared.DC.Scripts.Bindings , line 311, in __call__
  • Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
  • Module Products.CMFCore.FSPageTemplate, line 195, in _exec
  • Module Products.CMFCore.FSPageTemplate, line 134, in pt_render
  • Module Products.PageTemplates.PageTemplate, line 104, in pt_render
    <FSPageTemplate at /cps/widget_byline_render used for /cps/portal_layouts/common/w__Byline>
  • Module TAL.TALInterpreter, line 238, in __call__
  • Module TAL.TALInterpreter, line 281, in interpret
  • Module TAL.TALInterpreter, line 457, in do_optTag_tal
  • Module TAL.TALInterpreter, line 442, in do_optTag
  • Module TAL.TALInterpreter, line 437, in no_tag
  • Module TAL.TALInterpreter, line 281, in interpret
  • Module TAL.TALInterpreter, line 715, in do_condition
  • Module TAL.TALInterpreter, line 281, in interpret
  • Module TAL.TALInterpreter, line 457, in do_optTag_tal
  • Module TAL.TALInterpreter , line 442, in do_optTag
  • Module TAL.TALInterpreter, line 437, in no_tag
  • Module TAL.TALInterpreter, line 281, in interpret
  • Module TAL.TALInterpreter, line 507, in do_setLocal_tal
  • Module Products.PageTemplates.TALES, line 221, in evaluate
    URL: file:CPSSchemas/skins/cps_schemas/widget_byline_render.pt
    Line 10, Column 2
    _expression_: <PythonExpr (here_url != utool.getPortalObject().absolute_url()) and doc.getContentInfo(doc=doc, level=2) or None>
    Names:
    {'container': <CPSDefaultSite at /cps>,
    'context': <CPSBylineWidget at /cps/portal_layouts/common/w__Byline>,
    'default': <Products.PageTemplates.TALES.Default instance at 0x013C9CD8>,
    'here': <CPSBylineWidget at /cps/portal_layouts/common/w__Byline>,
    'loop': <Products.PageTemplates.TALES.SafeMapping object at 0x04B86E40>,
    'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0x013BE288>,
    'nothing': None,
    'options': {'args': (),
    'mode': 'view',
    'value': <ProxyFolder at /cps/sections/news>},
    'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0x04B86E40>,
    'request': <HTTPRequest, URL="" href="http://localhost:81/cps/sections/news/folder_view">http://localhost:81/cps/sections/news/folder_view>,
    'root': <Application at >,
    'template': <FSPageTemplate at /cps/widget_byline_render used for /cps/portal_layouts/common/w__Byline>,
    'traverse_subpath': [],
    'user': <User 'seternal'>}
  • Module Products.PageTemplates.ZRPythonExpr , line 47, in __call__
    __traceback_info__: (here_url != utool.getPortalObject().absolute_url()) and doc.getContentInfo(doc=doc, level=2) or None
  • Module Python _expression_ "(here_url != utool.getPortalObject().absolute_url()) and doc.getContentInfo(doc=doc, level=2) or None", line 1, in <_expression_>
  • Module Shared.DC.Scripts.Bindings, line 311, in __call__
  • Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
  • Module Products.PythonScripts.PythonScript , line 323, in _exec
  • Module None, line 200, in getContentInfo
    <PythonScript at /cps/getContentInfo used for /cps/sections/news>
    Line 200
  • Module AccessControl.ImplPython, line 727, in guarded_getattr
  • Module AccessControl.ImplPython, line 669, in aq_validate
  • Module AccessControl.ImplPython, line 563, in validate
  • Module AccessControl.ImplPython, line 385, in validate
Unauthorized: You are not allowed to access 'getRevision' in this context (Also, the following error occurred while attempting to render the standard error message, please see the event log for full details: You are not allowed to access 'getRevision' in this context)


On 4/12/06, Georges Racinet <[EMAIL PROTECTED] > wrote:

On Apr 12, 2006, at 10:07 AM, lopez adrian wrote:

> 'request': http://localhost:81/cps/sections/news/newsletter-
> mars-2006/cpsdocument_view>,

Ok, so to summarize, the byline widget fails on this object. Is it
displayed in a portlet on the home page ?
Please try and access a workspace's URL directly.

---------
Georges Racinet                        Nuxeo SAS
[EMAIL PROTECTED]                http://nuxeo.com
Tel: +33 (0) 1 40 33 71 73



_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel

Reply via email to