[Dev] Re: Query's with empty queryStrings

John Anderson john at osafoundation.org
Tue Sep 7 13:13:04 PDT 2004


Hi Ted:

It would be handy if we could have a queryString that would return no 
items. How about if the queryString is empty or None the query returns 
nothing? That would also have the advantage of removing one extra raise 
in your code and is a trivial change to your Query.py

John

Ted Leung wrote:

> Empty query strings should be invalid -- the error handling for that 
> is not vary good.
>
> We're leaving for our vacation in the morning, so I'll get back to you 
> in more detail on the 14th.
>
> Ted
>
> On Sep 5, 2004, at 6:09 PM, John Anderson wrote:
>
>> Hi Ted:
>>
>> I noticed, and may have already mentioned to you, that when 
>> queryString is the empty string ("") they don't parse correctly. Is 
>> this a Query bug (and is there a simple fix) or are empty 
>> queryStrings invalid?
>>
>> John
>>
>>
>
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> Open Source Applications Foundation "Dev" mailing list
> http://lists.osafoundation.org/mailman/listinfo/dev




More information about the Dev mailing list