[Zope] find ZClasses instances

Dieter Maurer dieter at handshake.de
Fri Dec 30 13:35:20 EST 2005


Godefroid Chapelle wrote at 2005-12-30 17:34 +0100:
>Hi, I get to a setup where ZClasses could still be used : one ZClass is 
>installed in one of the product.
>
>I need to find out if there are any instance of the ZClass in the ZODB 
>in order to migrate them to sthing saner.
>
>I have tried to use the manage_findResult method, passing it the ZClass 
>name as meta_type. I got no result. But I am not sure the ZClass name is 
>its meta_type.

I think, it uses the ZClass name as "meta_type".

However, you can easily verify: create a ZInstance and look at
its ZMI page. What you see in the upper left corner below
the tabs is the "meta_type".

-- 
Dieter


More information about the Zope mailing list