On ke, 09.07.2003 at 20:55 +0200, Dieter Maurer wrote:
Is it possible that your "ZCatalog" is not yet acquisition wrapped when you call "addIndex"?
I finally had some time to take a look at this problem a little deeper, and it seems that the ZCatalog is not aquisition wrapped when calling 'addIndex'. This problem seems to be fixed in 2.7.0-a1. Here's a patch for the 2.6.1 users: --- ZCatalog.py.orig 2003-07-21 19:31:55.000000000 +0300 +++ ZCatalog.py 2003-07-21 19:45:21.000000000 +0300 @@ -894,7 +894,7 @@ # for new index types is to use an "extra" record. if 'extra' in base.__init__.func_code.co_varnames: - index = base(name, extra=extra, caller=aq_base(self)) + index = base(name, extra=extra, caller=self) else: index = base(name, aq_base(self)) -- paavo. "joskus voi tää meno käydä ahdistavaksi kun on täällä muodostunut tavaksi muuttaa jokaisen elämän arvo rahaksi"