Re: [Zope] Changes in ZCatalog for zope 2.6
by Bakhtiar A Hamid other posts by this author
Dec 16 2002 9:16AM messages near this date
[Zope] Changes in ZCatalog for zope 2.6
|
Re: [Zope] Changes in ZCatalog for zope 2.6
On Monday 16 December 2002 17:13, Shashank Ashtikar wrote:
> 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.
zope 2.6.x comes with clean catalog. so these extra steps are no longer
required. but if we are using some of the stuff,like id , meta_type, etc, we
need to add them in :P
either way, it may be a ggod news bad news situation, depending on where we
are :P
hth
>
> Thanx in advnce
>
> Shashank
>
> _______________________________________________
> Zope maillist - Zope@[...].org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
--
http://www.kedai.com.my/ http://www.kedai.com.my/eZine
http://www.zope.org/Members/kedai http://www.my-zope.org
We don't need no, no no no, no parental guidance here
_______________________________________________
Zope maillist - Zope@[...].org
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope-dev )
Thread:
Shashank Ashtikar
Bakhtiar A Hamid
Thierry Florac
|