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

Philipp von Weitershausen philipp at weitershausen.de
Thu Jun 1 12:04:08 EDT 2006


Philipp von Weitershausen wrote:
> 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.

Yep, that's it. Fixing this right now.

Thanks for catching this.

Philipp


More information about the Zope-Dev mailing list