2016-06-02 4 views
1

AuthenticatedUsers 그룹에 정적 포틀릿을 생성하고 페이지로드시이 오류가 발생했습니다. 포틀릿을 렌더링하는 동안 오류가 발생했습니다.. 플론 (Plone)의 4.3.3 plone.portlet.static Version 2.0.2Plone 4.3.5plone.portlet.static Version 2.0.4을 가지고 가지고 있기 때문에(정적) 그룹 포틀릿 : 렌더링 중에 오류가 발생했습니다.

2016-06-02T16:43:35 ERROR Zope.SiteErrorLog 1464896615.090.768319144619 <site>/front-page/document_view 
Traceback (innermost last): 
    Module Products.PloneFormGen.patches, line 21, in safe_render 
    Module Products.Five.browser.pagetemplatefile, line 125, in __call__ 
    Module Products.Five.browser.pagetemplatefile, line 59, in __call__ 
    Module zope.pagetemplate.pagetemplate, line 132, in pt_render 
    Module zope.pagetemplate.pagetemplate, line 240, in __call__ 
    Module zope.tal.talinterpreter, line 271, in __call__ 
    Module zope.tal.talinterpreter, line 343, in interpret 
    Module zope.tal.talinterpreter, line 852, in do_condition 
    Module zope.tal.talinterpreter, line 343, in interpret 
    Module zope.tal.talinterpreter, line 742, in do_insertStructure_tal 
    Module Products.PageTemplates.Expressions, line 218, in evaluateStructure 
    Module zope.tales.tales, line 696, in evaluate 
    - URL: /usr/local/Plone/buildout-cache/eggs/plone.portlet.static-2.0.3-py2.7.egg/plone/portlet/static/static.pt 
    - Line 1, Column 0 
    - Expression: <PathExpr standard:u'view/transformed'> 
    - Names: 
     {'args':(), 
     'container': <ATDocument at /eleitoral/front-page>, 
     'context': <ATDocument at /eleitoral/front-page>, 
     'default': <object object at 0x7fc7329c4500>, 
     'here': <ATDocument at /eleitoral/front-page>, 
     'loop': {}, 
     'nothing': None, 
     'options': {}, 
     'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x7fc71a6777e0>, 
     'request': <HTTPRequest, URL=<site>/front-page/document_view>, 
     'root': <Application at >, 
     'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x7fc723f6d390>, 
     'traverse_subpath': [], 
     'user': <PloneUser 'lhmp1967'>, 
     'view': <plone.portlet.static.static.Renderer object at 0x7fc71b031690>, 
     'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x7fc71a67c790>} 
    Module zope.tales.expressions, line 217, in __call__ 
    Module Products.PageTemplates.Expressions, line 155, in _eval 
    Module Products.PageTemplates.Expressions, line 117, in render 
    Module plone.portlet.static.static, line 137, in transformed 
    Module OFS.Traversable, line 317, in restrictedTraverse 
    Module OFS.Traversable, line 285, in unrestrictedTraverse 
    - __traceback_info__: ([], 'AuthenticatedUsers') 
AttributeError: AuthenticatedUsers 
+1

빈 Plone에서 재생할 수 없습니다. 4.3.9. 이 오류로 이어지는 타사 추가 기능 또는 사용자 정의 구성이있을 수 있습니다. –

+0

모든 plone/zope 도움에 감사드립니다. 우리는 해답을 찾는 해결책이있는 것 같습니다. – gwarah

답변

3

plone.portlet.static Version 2.0.3, 당신은 Plone 4.3.4를 사용하고 표시 : 기타 유형의 포틀릿은 오류를

Page Screenshoot:

CLIENT1/Event.log을 생성하지 않습니다.

다음 번 버그 픽스 plone.portlet.static (2.0.4)으로 문제가 해결됩니다. 확인 : https://github.com/plone/plone.portlet.static/commit/089012f2e4d7cf911c1361a3b0de334b3f1145c2

context portlets 이외의 범주에 대한 포틀릿 할당 컨텍스트가 수정되었습니다.

포틀릿 만 버전 2.0.4로 업그레이드하거나 전체 사이트를 적어도 Plone 4.3.5으로 업그레이드 할 수 있습니다.

+0

@Mathias 감사합니다. 우리 팀에 제출하여 문제 해결 방법을 결정하겠습니다. 해결이 끝나면 (곧 바랄 수 있습니다.) 결과를 게시 할 것입니다. – gwarah

관련 문제