[Zope-dev] bug in zpatterns-0.4 ?

Jephte CLAIN Jephte.Clain@univ-reunion.fr
Tue, 27 Jun 2000 11:54:59 +0400


mike wrote:
> There is no way to infinite recursion if Rack.getItem is leaved
> untouched. 
Ah ah. But people will touch it. Like me for example :-)
There is no way to prevent overriding getItem from a ZClass for example.
And it *will* recurse infinitely, making Zope dumping core.

> getItem/newItem are not a high level methods, they are *part
> of DataSource's protocol* which *implemented* in Rack with retrieveItem
> and buddies.
getItem/newItem are not meant to be overrided. retrieveItem/createItem
are to overrided. This is different level for me.

When Philipp wake up (I guess he's asleep right now :-)), he might give
his opinion about that.

regards,
jephte clain
jclain@univ-reunion.fr