[Zope] Changes in ZCatalog for zope 2.6

Shashank Ashtikar shashank@hbcse.tifr.res.in
Mon, 16 Dec 2002 14:43:56 +0530


Hi Everybody,

I am new to zope. I ve been working on a zope product which makes uses of Catalog. Product was working fine of zope
2.5.1 recently we switched to Zope 2.6 since then following lines started giving an error. If I comment these lines
product works fine.

    ex.Catalog.manage_delIndex('id','FieldIndex')
    ex.Catalog.manage_delIndex('title','FieldIndex')
    ex.Catalog.manage_delIndex('meta_type','FieldIndex')
    ex.Catalog.manage_delIndex('bobobase_modification_time','FieldIndex')
    ex.Catalog.manage_delIndex('PrincipiaSearchSource','FieldIndex')
    ex.Catalog.manage_delIndex('path','TextIndex')

    ex.Catalog.manage_delColumn('id')
    ex.Catalog.manage_delColumn('title') 
    ex.Catalog.manage_delColumn('meta_type')
    ex.Catalog.manage_delColumn('bobobase_modification_time')
    ex.Catalog.manage_delColumn('summary')

These lines are executed during instantiation of the product.

Please help.

Thanx in advnce

Shashank