[Zope-dev] Re: AQ-Parent branch test failues was: Re: Five and
browser-oriented components
Wichert Akkerman
wichert at wiggy.net
Wed Apr 16 11:08:24 EDT 2008
Previously Philipp von Weitershausen wrote:
> ViewPageTemplateFile etc. are only meant to be used as class attributes,
> never as instance attributes. This statement is also true for the
> current, acquisition-based one from Five.
Is that documented anywhere? I can't seem to find any interface or
docstring that documents that.
> In my opinion, the fact that it accidentally worked as an instance
> variable isn't a very strong argument for continuing to support it. To
> me, this is a prime example of misusing a Five component which now
> leads to problems when we go pure Zope3.
I'ld agree if there was a docstring or interface that made that
explicit. I've updated the relevant code in plone.app.portlets though
since the change is harmless.
Wichert.
--
Wichert Akkerman <wichert at wiggy.net> It is simple to make things.
http://www.wiggy.net/ It is hard to make things simple.
More information about the Zope-Dev
mailing list