[Zope-CMF] TypeInformation needs to be cleaned.

Tres Seaver tseaver@zope.com
06 Jul 2002 11:58:42 -0400


On Fri, 2002-07-05 at 14:30, Sidnei da Silva wrote:
> Howdy people,
> 
> I just updated CMF from CVS-HEAD and noticed that Plone stopped working. 
> Digging a little more, i found that TypeInformation does not have the method 
> _cloneActions that is provided by the class ActionProviderBase, and more, it 
> redefines all of the methods of ActionProviderBase. 

Sidnei, the version of CMFCore/TypesTool.py on the head of CVS has had
the '_cloneActions' since forever (well, at least since Wednesday :)

> Shouldnt we take out the redundant methods and subclass ActionProviderBase in 
> this case? I think this would be better, as Tres cleansed out 
> ActionProviderBase a few days ago and it is working perfectly now. 

It seems like a good idea to me to reuse the APB code;  my only
reservation is possible forward-compatibility problems, which might
be tough to test for.

Tres.
-- 
===============================================================
Tres Seaver                                tseaver@zope.com
Zope Corporation      "Zope Dealers"       http://www.zope.com