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:
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,
-
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
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
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
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
-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:
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/Expressions.py