[Zope] 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 )
[Zope] strange catalog problem
Here's a weird one. I'm testing out my products catalog functionality, and I'm seeing strange results. I add an object "A" with an indexed variable called 'styles' that contains the values: ['Ambient', 'Breakbeat', 'Downtempo'] I add a second object "B" with the varaibles: ('Ambient', 'Breakbeat', 'Downtempo', 'Hardcore', 'Hip-Hop', 'House', 'Jungle', 'Techno', 'Trance') When I search for these varables, the results get somewhat mixed up. 3 incorrect searches out of 8. search for: results: Ambient B* Breakbeat AB Downtempo AB HardcoreA* Hip-Hop * House B Jungle B Techno B Trance B All these variables are inputted through a select box, so the spelling/case should be identical. There's some kind of a pattern here though, I don't quite see it. this is the call that I'm using to index the object: self.Catalog.catalog_object(ob,'Promoters/'+id) Anyone have any idea what might be causing this? ___ 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 )
Re: [Zope] strange catalog problem
Hi Ed, What version of Zope are you using? If it's 2.1.6 or earlier, have you patched ZCatalog? IIRC, it's slightly broken and causes exactly the same kind of problems as this... http://www.zope.org/Members/chrisw/Squishdot has a link to the fix for this problem on it (somewhere ;-) cheers, Chris PS: 'Downtempo', 'Hardcore', 'Hip-Hop', 'House', 'Jungle', 'Techno', 'Trance') With your taste in music, you should check out http://www.bay-c.co.uk I'm always looking for people to write articles and comment on the ones that are there :-) ___ 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 )