[Zope] Re: find ZClasses instances

Godefroid Chapelle gotcha at bubblenet.be
Mon Jan 2 09:14:29 EST 2006


Dieter Maurer wrote:
> 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".
> 

Thanks for a creative suggestion !

...and thanks for the time spent answering questions from many of us on 
this list and others.

-- 
Godefroid Chapelle (aka __gotcha)- BubbleNet  http://bubblenet.be



More information about the Zope mailing list