[Zope3-dev] Re: Recent changes in Zope 3

Marius Gedminas mgedmin at b4net.lt
Mon Sep 20 07:06:25 EDT 2004


On Mon, Sep 20, 2004 at 01:40:19PM +0300, Marius Gedminas wrote:
> Something changed in Zope 3 recently, perhaps as a side effect of
> Stephan's Presentation service removal.
> 
> I have several page templates that refer to view/macros/page.  The view
> class has a property 'macros' that returns the macros attribute of a
> different page template.  This used to work last week.  Today, after svn
> up, I get the following message instead:
> 
>   <snip>
>   KeyError: 'macros'
> 
> It seems that view attributes are no longer accessible via TALES path
> expressions.  I suspect this is due to additional security wrapping or
> something like that.

My problem was caused by a missing security declaration.  I am just a
little surprised I did not experience the problem earlier.

Marius Gedminas
-- 
Colorless green ideas sleep furiously.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mail.zope.org/pipermail/zope3-dev/attachments/20040920/40a1d871/attachment.bin


More information about the Zope3-dev mailing list