[Zope-dev] Re: More resilient indexes

2007-09-19 Thread Laurence Rowe
Roché Compaan wrote: I use QueueCatalog often and I know how it works. But if an application requires immediate indexing then QueueCatalog is not a solution. Sorry if I was unclear but what I'm really asking is if it is possible to improve the conflict handling of the current indexes that we

[Zope-dev] security problem in an monkey-patch

2007-09-19 Thread Joachim Schmitz
Hi, I have monkey-patched the QueueCatalog to adopt it to our needs, which works fine. I now wanted to introduce a new feature: The QueueCatalog should be bypassed during mass-import of data. So I introduced a new variable "_bypass", and new getBypassQueue() and setBypassQueue methods in the

[Zope-dev] Zope Tests: 5 OK

2007-09-19 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list. Period Tue Sep 18 12:00:00 2007 UTC to Wed Sep 19 12:00:00 2007 UTC. There were 5 messages: 5 from Zope Unit Tests. Tests passed OK --- Subject: OK : Zope-2.7 Python-2.3.6 : Linux From: Zope Unit Tests Date: Tue Sep 18 20:50:14 EDT 2007 URL

[Zope-dev] Re: security problem in an monkey-patch

2007-09-19 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joachim Schmitz wrote: > Hi, > > I have monkey-patched the QueueCatalog to adopt it to our needs, which > works fine. I now wanted to introduce a new feature: > > The QueueCatalog should be bypassed during mass-import of data. > So I introduced a ne

[Zope-dev] Re: security problem in an monkey-patch

2007-09-19 Thread Joachim Schmitz
Tres Seaver schrieb: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 security.declareProtected(view_management_screens, 'getBypassQueue') def getBypassQueue(self): "get _by_pass" if not hasattr(self,"_bypass"): self._bypass = False return self._bypass I would write thi

Re: [Zope-dev] Re: More resilient indexes

2007-09-19 Thread Dieter Maurer
Laurence Rowe wrote at 2007-9-19 10:03 +0100: > ... >Indexes are inherently difficult to perform conflict resolution on. As >Dieter mentioned their implementation is designed for efficient reading, >not efficient writing. You did not mean me? I have implemented the "Conflict Reduced Indexes" be

Re: [Zope-dev] security problem in an monkey-patch

2007-09-19 Thread Dieter Maurer
Joachim Schmitz wrote at 2007-9-19 11:54 +0200: >and > >../portal_catalog/getBypassQueue >displays a 1 This looks like a security bug. You should not be able to "call" something via the ZPublisher what you cannot call in a script. Maybe, you file a bug report? -- Dieter _

Re: [Zope-dev] Re: More resilient indexes

2007-09-19 Thread Roché Compaan
On Tue, 2007-09-18 at 20:01 +0200, Dieter Maurer wrote: > Roché Compaan wrote at 2007-9-18 08:55 +0200: > > ... > >Sorry if I was unclear but what I'm really asking is if it is possible > >to improve the conflict handling of the current indexes that we have in > >Zope. I am also asking if concurren