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/ev
FYI I've fixed all this.
Florent
Florent Guillaume wrote:
Current bare Zope 2.10 sends some deprecation warnings because it itself
imports things that it deprecates, this will have to be hidden.
Suggestions welcome:
- App/Product.py imports ZClasses which are deprecated,
- Products/ZCatalog
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.
>
> w
Florent Guillaume wrote:
> Log message for revision 68446:
> Make python security policy work with a boolean __aatus__
Wow, I wasn't aware that only ints were possible. Shouldn't this be
backported to Zope 2.9 as well? I consider it a bug when an 1 won't be
exchangeable for True in something tha
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.PathIterato
On 1 Jun 2006, at 17:53, Philipp von Weitershausen wrote:
Florent Guillaume wrote:
Log message for revision 68446:
Make python security policy work with a boolean __aatus__
Wow, I wasn't aware that only ints were possible. Shouldn't this be
backported to Zope 2.9 as well? I consider it a bug
Florent Guillaume wrote:
> On 1 Jun 2006, at 17:53, Philipp von Weitershausen wrote:
>> Florent Guillaume wrote:
>>> Log message for revision 68446:
>>> Make python security policy work with a boolean __aatus__
>>
>> Wow, I wasn't aware that only ints were possible. Shouldn't this be
>> backporte
On 1 Jun 2006, at 18:19, Philipp von Weitershausen wrote:
Florent Guillaume wrote:
On 1 Jun 2006, at 17:53, Philipp von Weitershausen wrote:
By the way, a test for isinstance(__aatus__, int) would also be
true for
booleans because bool inherits from int.
I didn't want to touch the p.__class
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Florent Guillaume wrote:
> Log message for revision 68445:
> Revert unwanted checkin.
>
>
> Changed:
> U Zope/branches/2.10/lib/python/Products/PageTemplates/Expressions.py
>
> -=-
> Modified: Zope/branches/2.10/lib/python/Products/PageTempl
Tres Seaver wrote:
> Florent Guillaume wrote:
>>> Log message for revision 68445:
>>> Revert unwanted checkin.
>>>
>>>
>>> Changed:
>>> U Zope/branches/2.10/lib/python/Products/PageTemplates/Expressions.py
>>>
>>> -=-
>>> Modified:
>>> Zope/branches/2.10/lib/python/Products/PageTemplates/
10 matches
Mail list logo