Caveat: I've never made a ZClass with File as a base class...
 
I just thought I would double check that in your ZClass_add method, you do this:
 
<dtml-with "createInObjectManager...">
  <dtml-call "propertysheet.YourPropSheet.manage_editProperties(REQUEST)">
  <dtml-call reindex_object>
</dtml-with>
 
If you don't store the properties and reindex the object, the object will be added to the catalog but won't be particularly useful because there won't be any values for the properties stored in the indexes and meta data.
 
Kevin
----- Original Message -----
From: Fusion Group
To: zope@zope.org
Sent: Monday, May 01, 2000 4:27 PM
Subject: [Zope] CatalogAware ZClass with File base class

I wanted to make my new File objects CatalogAware so I created a new ZClass with CatalogAware and File as my base classes (in that order).  When I upload a new file, calling manage_addFile from my ZClass, it of course is not made available for my Catalog. 
 
I know I'm doing this wrong, but I'm starting to run out of time on this project and can't afford the luxury of fiddling until I figure it out anymore.  I probably should have fiddled with Zope a little before I used it for a client's project, but it's too late now.