[Zope-CMF] Test setup problems with Zope 2.13

Hanno Schlichting hanno at hannosch.eu
Wed Jul 28 08:28:16 EDT 2010


On Wed, Jul 28, 2010 at 1:17 PM, yuppie <y.2010 at wcm-solutions.de> wrote:
> Hanno Schlichting wrote:
>> ContentInit
>
> ContentInit is only used for BBB. It registers oldstyle constructors.

Well, right. Except in Plone / Archetypes this and variants based on
it are still the only option. Archetypes doesn't know about add views
or any of that "new" IFactory pattern.

>> I'd love to see someone tackle registerClass and at the same time
>> decouple ZMI add menu visibility and the OFS.CopySupport stuff.
>
> You mean the CopySupport issue I fixed 5 years ago? Or something
> different? http://svn.zope.org/?view=rev&rev=40552
>
> five:registerClass doesn't require to specify an 'addview'. CopySupport
> works for all CMF content types without adding them to the ZMI add menu.
>
> We just can't use five:registerClass in OFS/OFSP because it doesn't
> support oldstyle constructors and legacy methods.

Ah, yeah! This was exactly what I meant. I had no idea this was already done.

So a belated thank you :)
Hanno


More information about the Zope-CMF mailing list