[Zope-CMF] Re: [CMF-checkins] CVS: CMF/CMFCore - ActionsTool.py:1.26

Chris Withers chrisw@nipltd.com
Sun, 10 Mar 2002 01:17:16 +0000


Tres Seaver wrote:
> 
> I don't think this does what you want 

Well, the tests pass and it works in the production environment I'm using it in
;-)

> -- it only filters based on
> *identity* (the exact same object), rather than by *equivalence*
> (I'm not sure what this would mean, but perhaps the combination of
> title and URL?) 

I think I mean identity, since ActionInformation objects are persistent.

I just wanted to stop duplicates happening when the object has a listActions
method.

In my case, I have a PageTemplate that acts in the context of the membership
tool and so any actions the membership tool generates were duplicated.

cheers,

Chris