[Zope-dev] How to choose: Or, Not and And when using searchResults().

2001-04-18 Thread Erik Enge
Hi, I was wondering, is there a way I can choose whether I want searchResults to Or, Not or And the search? Or do I need to combine searchResult calls and what not? ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zo

Re: [Zope-dev] How to choose: Or, Not and And when using searchResults().

2001-04-18 Thread Chris McDonough
No, unfortunately. You need to manually do unions or intersections on results from multiple calls to searchRequest currently. Erik Enge wrote: > > Hi, > > I was wondering, is there a way I can choose whether I want searchResults > to Or, Not or And the search? Or do I need to combine searchRe

Re: [Zope-dev] How to choose: Or, Not and And when using searchResults().

2001-04-18 Thread Erik Enge
On Wed, 18 Apr 2001, Chris McDonough wrote: > You need to manually do unions or intersections on results from multiple > calls to searchRequest currently. Is this a feature to be implemented? If not, why not? Oh, and by the way, "searchRequest"? __

Re: [Zope-dev] How to choose: Or, Not and And when using searchResults().

2001-04-18 Thread Chris McDonough
Erik Enge wrote: > > On Wed, 18 Apr 2001, Chris McDonough wrote: > > > You need to manually do unions or intersections on results from multiple > > calls to searchRequest currently. > > Is this a feature to be implemented? If not, why not? DC has no no concrete plans to implement operators or

RE: [Zope-dev] How to choose: Or, Not and And when using searchResults().

2001-04-18 Thread Marco Nova
> > On Wed, 18 Apr 2001, Chris McDonough wrote: > > > > > You need to manually do unions or intersections on > results from multiple > > > calls to searchRequest currently. > > > > Is this a feature to be implemented? If not, why not? > > DC has no no concrete plans to implement operators or

Re: [Zope-dev] How to choose: Or, Not and And when using searchResults().

2001-04-18 Thread Chris McDonough
Marco Nova wrote: > > DC has no no concrete plans to implement operators or precedence in > > catalog queries, although I think it's a really > > super-worthwhile idea. > > We're currently focusing on the things in the Zope 2.4 plan (see > > http://dev.zope.org/Resources/zope_240_plan.html). If >

Re: [Zope-dev] How to choose: Or, Not and And when using searchResults().

2001-04-18 Thread Chris McDonough
BTW, it *is* possible to use AND, NOT, OR, and ANDNOT in the body of a textindex query, e.g. This is not a problem. But the original question (and what is not possible currently), is how to do something like: ...currently the best you can do is: ... ... which does an implicit inters

Re: [Zope-dev] How to choose: Or, Not and And when using searchResults().

2001-04-18 Thread Casey Duncan
Chris McDonough wrote: > > Erik Enge wrote: > > > > On Wed, 18 Apr 2001, Chris McDonough wrote: > > > > > You need to manually do unions or intersections on results from multiple > > > calls to searchRequest currently. > > > > Is this a feature to be implemented? If not, why not? > > DC has no

Re: [Zope-dev] How to choose: Or, Not and And when using searchResults().

2001-04-18 Thread Chris McDonough
> This is a project I have been keeping in the back of my mind for a while > now. At present I do not have the resources to devote, but it is my hope > that this will change. I feel strongly that that ZCatalog should have a > general query language on par with an SQL where clause. Much of the wor

Re: [Zope-dev] How to choose: Or, Not and And when using searchResults().

2001-04-18 Thread Casey Duncan
Chris McDonough wrote: > > BTW, some changes are coming to the way we allow contributions to the Zope > codebase which have the potential to reduce the DC "drag factor" for this > and other similar projects. > > - C I await this process change with great curiousity. As for the ZCatalog proposa

[Zope-dev] Virtual dataskinned ZClass instance

2001-04-18 Thread Godefroid Chapelle
Hi all, Being trying for more than three days to catch my problem, reading ZPatterns and AccessControl code, I am lost. I explain my situation again hoping someone can help me. I create a ZClass HumanClass with the following characteristics: Base Classes ZObject, _ZClass_for_DataSkin wit

Re: [Zope-dev] Virtual dataskinned ZClass instance

2001-04-18 Thread Godefroid Chapelle
Steve Alexander a écrit : > Godefroid Chapelle wrote: > > > > > where getNames is a python method in a DataSkin Class Extender. > > It is defined as : > > > > import string > > list = string.split(context.id, '_') > > return list[1] > > use getId()

[Zope-dev] WebDAV etc permissions (Re: zope nautilus cabal)

2001-04-18 Thread Lalo Martins
On Fri, Apr 13, 2001 at 11:48:39PM +0100, Chris Withers wrote: > > The WebDAV (and XMLRPC) stuff either needs to be decomposed to run on its > > own port (and only that port) or more explicit permissions need to be > > associated with WebDAV/XMLRPC operations if we take for granted that being > >

Re: [Zope-dev] Virtual dataskinned ZClass instance

2001-04-18 Thread Steve Alexander
Godefroid Chapelle wrote: > > > When using context.getId(), I get the id of the specialist, not of the > HumanClass instance... use container.getId() Also, try setting a proxy role on the SkinScript. -- Steve Alexander ___ Zope-Dev maillist -

[Zope-dev] mxodbc no help

2001-04-18 Thread Andy McKay
Well I tried running mxodbc and that seems even worse then zodbca when connecting to MS SQLServer... for example queries have to be in exactly the right order: This does not work: select Subtype_Cookbook.discussion, Subtype_Cookbook.resource_id from Subtype_Cookbook This works: select Subtype_

[Zope-dev] WebDAV locking module?

2001-04-18 Thread richard
Colour me confused... I just downloaded the 2.3.2 beta tarball and tried to run our application against it. It appears that the locking module (webdav.Lockable) is missing from webdav. We develop against the CVS, and the file is there. It has been since 2.3.1 CVS - though the 2.3.1 tarball doesn'

[Zope-dev] Re: [Zope] CatalogAware does not work?

2001-04-18 Thread Casey Duncan
John Morton wrote: > > > > Why couldn't CatalogAware do this? If nobody has a good reason, I might > > push forth a patch to CatalogAware to implement this. > > A simple case for the present flexibility is that you don't need to reindex > for every property change, just the ones that are actu

Re: [Zope-dev] WebDAV etc permissions (Re: zope nautilus cabal)

2001-04-18 Thread Bill Anderson
On 18 Apr 2001 15:39:20 -0300, Lalo Martins wrote: > On Fri, Apr 13, 2001 at 11:48:39PM +0100, Chris Withers wrote: > > > The WebDAV (and XMLRPC) stuff either needs to be decomposed to run on its > > > own port (and only that port) or more explicit permissions need to be > > > associated with WebD

Re: [Zope-dev] memory leak

2001-04-18 Thread Karl Anderson
This turns out to be a memory leak in ParsedXML. DOM references created during a parse aren't released. We hope to have a new release very soon that fixes this. Restarting Zope is a temporary workaround - DOM refs retrieved from the DB aren't being leaked. -- Karl Anderson

[Zope-dev] ZCatalog catalogable types and nonproducts

2001-04-18 Thread Karl Anderson
I have a Python Product with several subobjects which are not products in their own right. I'm trying to make these subobjects selectable in the Find Objects tab of a ZCatalog, so I can restrict the cataloged objects to these types. Whats the right way to do this? Since they're not addable pro

[Zope-dev] External transaction integration bug?

2001-04-18 Thread Randall F. Kern
I may just be missing something obvious here, but it seems like there is a hole in ZODB.Transaction.Transaction.commit and Shared.DC.ZRDB.TM.TM, that can cause external transactions (those that use the TM mixin class, like psycopg) to be abandoned (never get committed or rolled back). Let's say s