#590 PLFNG does not work with Plone 2.5

open
Mike Garnsey
5
2006-07-22
2006-07-22
Anonymous
No

Traceback (innermost last):

* Module ZPublisher.Publish, line 115, in publish
* Module ZPublisher.mapply, line 88, in mapply
* Module ZPublisher.Publish, line 41, in call_object
* Module Shared.DC.Scripts.Bindings, line 311, in
__call__
* Module Shared.DC.Scripts.Bindings, line 348, in
_bindAndExec
* Module Products.PageTemplates.ZopePageTemplate,
line 255, in _exec
* Module Products.PageTemplates.PageTemplate, line
104, in pt_render
<ZopePageTemplate at /test/plfng_view used for
/test/plonelocalfolderng.2006-07-22.5667516746>
* Module TAL.TALInterpreter, line 238, in __call__
* Module TAL.TALInterpreter, line 281, in interpret
* Module TAL.TALInterpreter, line 735, in do_useMacro
* Module Products.PageTemplates.TALES, line 221, in
evaluate
URL: /test/plfng_view
Line 1, Column 0
Expression:
standard:'here/@@plone/main_template/macros/master'
Names:

{'container': <PloneSite at /test>,
'context': <PloneLocalFolderNG at
/test/plonelocalfolderng.2006-07-22.5667516746>,
'default': <Products.PageTemplates.TALES.Default
instance at 0x2613cd8>,
'here': <PloneLocalFolderNG at
/test/plonelocalfolderng.2006-07-22.5667516746>,
'loop':
<Products.PageTemplates.TALES.SafeMapping object at
0x5e37fa8>,
'modules':
<Products.PageTemplates.ZRPythonExpr._SecureModuleImporter
instance at 0x2606288>,
'nothing': None,
'options': {'args': ()},
'repeat':
<Products.PageTemplates.TALES.SafeMapping object at
0x5e37fa8>,
'request': <HTTPRequest,
URL=http://localhost:8080/test/plonelocalfolderng.2006-07-22.5667516746/plfng_view>,
'root': <Application at >,
'template': <ZopePageTemplate at
/test/plfng_view used for
/test/plonelocalfolderng.2006-07-22.5667516746>,
'traverse_subpath': [],
'user': <PropertiedUser 'huima'>}

* Module Products.PageTemplates.Expressions, line
185, in __call__
* Module Products.PageTemplates.Expressions, line
173, in _eval
* Module Products.PageTemplates.Expressions, line
127, in _eval
__traceback_info__: here
* Module Products.PageTemplates.Expressions, line
310, in restrictedTraverse
__traceback_info__: {'path': ['@@plone',
'main_template', 'macros', 'master'], '_e': [],
'TraversalRequestNameStack': ['master', 'macros',
'main_template']}

Unauthorized: You are not allowed to access '@@plone'
in this context

Discussion