ZCatalog, catalogAware Zclass and Versions
Hi all, I have a Catalog Aware Class that I use to create objects and automatically index them (no shit! I'm a genious :) This specific class creates me a Site Operation/Development problem every time I start a version. This is because if in my version I create some objects of my Class they would be indexed (again my genial brain!), then locking my catalog, i.e, the methods I have for people to create objects will no longer work because my version is locking the catalog. If there is a way/how-to to a version dont do this I would apreciate feedback. Meanwhile... if I discover a good method I'll post on the list. I thought of every time I enter a version I rewrite/change my class (example: a property default_catalog set to "TempCatalog") to avoid the lock of my Current Catalog. But as you can imagine I dont want to do this every time I start a version. My best regards, JĂșlio Silva ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com
----- Original Message ----- From: "julio dinis" <juliodinis@hotmail.com> To: <zope@zope.org> Sent: Monday, February 07, 2000 5:02 PM Subject: [Zope] ZCatalog, catalogAware Zclass and Versions
This specific class creates me a Site Operation/Development problem every time I start a version. This is because if in my version I create some objects of my Class they would be indexed (again my genial brain!), then locking my catalog, i.e, the methods I have for people to create objects will no longer work because my version is locking the catalog.
If there is a way/how-to to a version dont do this I would apreciate feedback. Meanwhile... if I discover a good method I'll post on the list.
I don't believe there is a way. Earlier, I think Michel may have mentioned having some ideas on having less aggressive locking... but, that seemed to be a somewhat distant future feature. Kevin
participants (2)
-
julio dinis -
Kevin Dangoor