Re: [Zope-dev] ZCatalog FieldIndex Bug (Fix?)

2001-04-06 Thread Chris Withers
Chris McDonough wrote: > > > Chris McDonough wrote: > > > > > > You can run them by doing "python testCatalog.py -p"... some will fail > due > > > to not having various files on the filesystem, but most should pass. > > > > Ah... this doesn't work if you have Python 2.0 installed as your default

Re: [Zope-dev] ZCatalog FieldIndex Bug (Fix?)

2001-04-06 Thread Chris McDonough
> Chris McDonough wrote: > > > > You can run them by doing "python testCatalog.py -p"... some will fail due > > to not having various files on the filesystem, but most should pass. > > Ah... this doesn't work if you have Python 2.0 installed as your default python > and a Zope binary release ;-) >

Re: [Zope-dev] ZCatalog FieldIndex Bug (Fix?)

2001-04-06 Thread Chris Withers
Chris McDonough wrote: > > You can run them by doing "python testCatalog.py -p"... some will fail due > to not having various files on the filesystem, but most should pass. Ah... this doesn't work if you have Python 2.0 installed as your default python and a Zope binary release ;-) Zope needs py

Re: [Zope-dev] ZCatalog FieldIndex Bug (Fix?)

2001-04-06 Thread Chris McDonough
erstand yet, however! ;-) - Original Message - From: "Chris Withers" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "Chris McDonough" <[EMAIL PROTECTED]> Sent: Thursday, April 05, 2001 6:41 PM Subject: [Zope-dev] ZCatalog FieldIndex Bug (Fix?) > Chris Withe

[Zope-dev] ZCatalog FieldIndex Bug (Fix?)

2001-04-06 Thread Chris Withers
Chris Withers wrote: > Correct me if I'm wrong, but if I query a field index with an empty string, I > expect to get returned all catalogued objects where that attribute's value _is_ > the empty string. > > Anyway, this happens most of the time and I wish it happened all the time. > Basically, th

[Zope-dev] ZCatalog FieldIndex Bug

2001-04-05 Thread Chris Withers
Hi, Correct me if I'm wrong, but if I query a field index with an empty string, I expect to get returned all catalogued objects where that attribute's value _is_ the empty string. Anyway, this happens most of the time and I wish it happened all the time. Basically, the only situation where this

Re: [Zope-dev] ZCatalog FieldIndex bug in Zope 2.3.0b3

2001-01-27 Thread Chris Withers
> > I'm guessing the DTML method TestCase is acquired from it, before the > > namespace > > is searched for the meta_data, which is a little screwy :-( > > Odd, I thought you were reffering to another bug that I fixed, thanks to > your report :-) hehehe, apparantly that wasn't the actual bug you w

Re: [Zope-dev] ZCatalog FieldIndex bug in Zope 2.3.0b3

2001-01-26 Thread Christopher Petrilli
On 1/26/01 11:56 AM, "Chris Withers" <[EMAIL PROTECTED]> wrote: > Chris Withers wrote: >> >> Okay, tracked down what's happening, can't understand why :-( > > Some data points before I rush off... > > - ZDebug doesn't like 2.3 very much :-S > - Python Scripts rock ;-) > > However, from what Z

Re: [Zope-dev] ZCatalog FieldIndex bug in Zope 2.3.0b3

2001-01-26 Thread Christopher Petrilli
On 1/26/01 11:41 AM, "Chris McDonough" <[EMAIL PROTECTED]> wrote: > I've put the fieldindex bug in the collector. This is now fixed... It was a bizarre logic problem, but I could reproduce it easily :-) Thanks for finding this. Chris -- | Christopher Petrilli | [EMAIL PROTECTED] ___

Re: [Zope-dev] ZCatalog FieldIndex bug in Zope 2.3.0b3

2001-01-26 Thread Chris Withers
Chris Withers wrote: > > Okay, tracked down what's happening, can't understand why :-( Some data points before I rush off... - ZDebug doesn't like 2.3 very much :-S - Python Scripts rock ;-) However, from what ZDebug did show, it seems that the object the catalog has found ends up on the top o

Re: [Zope-dev] ZCatalog FieldIndex bug in Zope 2.3.0b3

2001-01-26 Thread Chris McDonough
This is fixed in CVS. ChrisP works fast. :-) - Original Message - From: "Chris Withers" <[EMAIL PROTECTED]> To: "Chris McDonough" <[EMAIL PROTECTED]> Sent: Friday, January 26, 2001 11:23 AM Subject: Re: [Zope-dev] ZCatalog FieldIndex bug in Zope 2

Re: [Zope-dev] ZCatalog FieldIndex bug in Zope 2.3.0b3

2001-01-26 Thread Chris Withers
Brian Lloyd wrote: > > > PS: Tabular reporting ZSearch Interfaces generated from Catalogs > > have quite > > badly b0rKen results forms, in that, for some reason, the search > > form ends up in > > a column of the results table, very confusing... > > Huh? I cannot reproduce this at all (or even

Re: [Zope-dev] ZCatalog FieldIndex bug in Zope 2.3.0b3

2001-01-26 Thread Chris McDonough
I've put the fieldindex bug in the collector. - Original Message - From: "Chris Withers" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, January 26, 2001 10:38 AM Subject: [Zope-dev] ZCatalog FieldIndex bug in Zope 2.3.0

RE: [Zope-dev] ZCatalog FieldIndex bug in Zope 2.3.0b3

2001-01-26 Thread Brian Lloyd
> PS: Tabular reporting ZSearch Interfaces generated from Catalogs > have quite > badly b0rKen results forms, in that, for some reason, the search > form ends up in > a column of the results table, very confusing... Huh? I cannot reproduce this at all (or even see how it could happen, looking

[Zope-dev] ZCatalog FieldIndex bug in Zope 2.3.0b3

2001-01-26 Thread Chris Withers
Hi, FieldIndex's don't work quite right in 2.3. Try this: - create a Catalog with a FieldIndex called 'test' - create a DTML document with a property 'test', value 'fish' - catalog the document - now change the value of the property to 'finger' and re-catalog. If you now search for test='finger