[Zope-dev] Re: Zope 2.10 TALES repeat and 'item'

Philipp von Weitershausen philipp at weitershausen.de
Thu Jun 1 11:45:57 EDT 2006


Florent Guillaume wrote:
> The following TALES expression using the 'item' name doesn't work:
> 
>   python:repeat['item'].even()
>   Unauthorized: The container has no security assertions.  Access to
> 'even' of (Products.PageTemplates.Expressions.PathIterator object at
> 0x47986f0) denied.
> 
> whereas this works:
> 
>  repeat/item/even
> 
> Anyone knows why?

I bet I forgot an __aanus__ = True in ZopeIterator / PathIterator.

Philipp



More information about the Zope-Dev mailing list