[Zope] RE: Strange Catalog problem.

2000-12-08 Thread Søren Roug



|| > Apparently "Update Catalog" doesn't touch the old invalid
|| > pointers in the index.
|| 
|| Yes. Is it a feature or a bug ? Because this causes a lot of 
|| trouble when 
|| you want to transfer a 2.1.6 to 2.2.x site (because of the 
|| lack of subclass 
|| objets proposal when you want to do a new clean index..
||

In my opinion ZCatalog should clean out invalid references. So I would
classify it as a bug.
 
|| > Also, for Yihaw you must find object of all types 
|| otherwise it won't catalog
|| > the subclassed objects!
|| 
|| That's weird. It only shows the main Zclass. So doing that 
|| the catalog 
|| ends up with thousands of other objects !
|| 
|| Is this also a feature or a bug ?

This is in my opinion also a bug. If they at least could catalog all derived
classes.
--
Sincerely yours/Med venlig hilsen
Søren Roug <[EMAIL PROTECTED]>
European Environment Agency
Kongens Nytorv 6
Tel: +45 3336 7212   Fax: +45 3336 7199  ICQ: 13804170

___
Zope maillist  -  [EMAIL PROTECTED]
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 )




[Zope] RE: Strange Catalog problem.

2000-12-08 Thread Didier Georgieff

Le 8 Dec 2000, à 11:44, Søren Roug a écrit :

> I think you should do "Find Items to ZCatalog" and do a clean index of the
> whole website. 

Yes. But problem is to get the *whole* objects or nothing but can't get 
only the Yihaw objects and subclassed objects (see below).
I guess it's a ZCatalog problem (or a feature ?)

> Apparently "Update Catalog" doesn't touch the old invalid
> pointers in the index.

Yes. Is it a feature or a bug ? Because this causes a lot of trouble when 
you want to transfer a 2.1.6 to 2.2.x site (because of the lack of subclass 
objets proposal when you want to do a new clean index..

> Also, for Yihaw you must find object of all types otherwise it won't catalog
> the subclassed objects!

That's weird. It only shows the main Zclass. So doing that the catalog 
ends up with thousands of other objects !

Is this also a feature or a bug ?

Thanks for the help.
--
Didier Georgieff
DDAF du Bas-Rhin - Cellule SIG 
2, rue des Mineurs 67070 Strasbourg Cedex
tél : 03.88.25.20.33 - fax : 03.88.25.20.01
email : [EMAIL PROTECTED]
SIT du Bas-Rhin : http://www.bas-rhin.sit.gouv.fr
GéoWeb http://sertit10.u-strasbg.fr

___
Zope maillist  -  [EMAIL PROTECTED]
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 )




[Zope] RE: Strange Catalog problem.

2000-12-08 Thread Søren Roug

I think you should do "Find Items to ZCatalog" and do a clean index of the
whole website. Apparently "Update Catalog" doesn't touch the old invalid
pointers in the index.

Also, for Yihaw you must find object of all types otherwise it won't catalog
the subclassed objects!

The correct behaviour in 2.2 is with a preceeding '/'.

|| -Original Message-
|| From: Didier Georgieff [mailto:[EMAIL PROTECTED]]
|| Sent: Friday, December 08, 2000 10:45
|| To: [EMAIL PROTECTED]
|| Cc: [EMAIL PROTECTED]
|| Subject: Strange Catalog problem.
|| 
|| 
|| Hello,
|| 
|| I'm using a modified (french, adding programatically and new 
|| classes but 
|| the ground features are untouched) Yihaw on 2.2.4 (linux).
|| 
|| I've got a strange behaviours (YihawNews boxes don't show 
|| the new items) 
|| until i found that "old" (before upgrading to 2.2.2 + 2.2.4 
|| update) items on 
|| the catalog don't start with "/" and the new ones does start 
|| with "/".
|| 
|| Reindexing gives me the same 2 categories and change nothing.
|| 
|| I'm puzzled with :
|| * what is the "correct behaviour / or no / ?
|| * why reindexing doesn't homogenize the / ?
|| 
|| The "new" items are now added programatically and the "old" 
|| ones where 
|| done thru Zope interface.
|| 
|| And sometimes i still get a "problem uncataloging before 
|| catalogging" 
|| message on the Zope console.
|| 
|| Am i missing some important change ?
|| Thanks in advance.
|| 
|| 
|| --
|| Didier Georgieff
|| DDAF du Bas-Rhin - Cellule SIG 
|| 2, rue des Mineurs 67070 Strasbourg Cedex
|| tél : 03.88.25.20.33 - fax : 03.88.25.20.01
|| email : [EMAIL PROTECTED]
|| SIT du Bas-Rhin : http://www.bas-rhin.sit.gouv.fr
|| GéoWeb http://sertit10.u-strasbg.fr
|| 

___
Zope maillist  -  [EMAIL PROTECTED]
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 )