Hi every one I've used zcatalog 2 years ago. Every thing was perfect My zclass objects where removed from zcatalog when they were delete etc ... Today i try to create another zclass on the same zope server (2.6) zclass with zobject,zcatalogaware inheritance and the zcatalogawareness don't work any more. And I don't know why !!!!!! So each time a property is modified i should force a refresh like that : my_zcatalog.update(refresh=1) this refresh all my indexes. But it's not normal On the other zclass product, each time an object is modified indexes are modified transparently How can i check,debug, test Zcatalog-Aware ability ? Thank's for all
bard stéphane wrote at 2006-6-24 19:38 +0200:
Today i try to create another zclass on the same zope server (2.6) zclass with zobject,zcatalogaware inheritance and the zcatalogawareness don't work any more. And I don't know why !!!!!!
So each time a property is modified i should
"ZcatalogAware" never triggered reindexing when a property was changed -- only indexing when the object was created and unindexing when it was deleted. Call "indexObject" (or "reindexObject") after you have make changes. -- Dieter
thank's dieter ! In fact i lose the tip that the Zcatalog should have the id "Catalog" so the object could be automatically cataloged at creation. thank's a lot Dieter Maurer a écrit :
bard stéphane wrote at 2006-6-24 19:38 +0200:
Today i try to create another zclass on the same zope server (2.6) zclass with zobject,zcatalogaware inheritance and the zcatalogawareness don't work any more. And I don't know why !!!!!!
So each time a property is modified i should
"ZcatalogAware" never triggered reindexing when a property was changed -- only indexing when the object was created and unindexing when it was deleted.
Call "indexObject" (or "reindexObject") after you have make changes.
participants (2)
-
bard stéphane -
Dieter Maurer