directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Karasulu (JIRA)" <>
Subject [jira] Closed: (DIRSERVER-951) Negated filter on indexed attribute doesn't find entries without attribute
Date Fri, 17 Aug 2007 05:54:30 GMT


Alex Karasulu closed DIRSERVER-951.

    Resolution: Cannot Reproduce

I created a special integration test just for testing NOT operators in filters with the server
with both indexed and non-indexed attributes using with the NOT operator. Here's the test
case for this:

For some reason I could not reproduce the bug which Martin you sited.  If you take a look
at the following tests which pass you'll see that (!(ou=drama)) successfully matches for Jack
Black and Joe Newbie.  According to this LDIF here:
Test to consider:
testSearchNotDramaIndexed() [SHOULD FAIL]

Both succeed and Jack Black whose entry is returned does have the ou attribute but no 'drama'
value.  Also Joe Newbie is returned as well and this entry has no ou attribute all together.

So unless this can be reproduced some other way (feel free to add a test) then I'm going to
just mark this issue closed and not reproducable.

> Negated filter on indexed attribute doesn't find entries without attribute
> --------------------------------------------------------------------------
>                 Key: DIRSERVER-951
>                 URL:
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.5.1
>            Reporter: Martin Alderson
>            Assignee: Alex Karasulu
>            Priority: Blocker
>             Fix For: 1.5.1
> Searching with filter (!(myAttribute=value)) will not find entries which do not have
a myAttribute attribute when that attribute is indexed.  When myAttribute is not indexed the
filter works as expected, finding all entries that either do not have the specified value
for myAttribute or do not have any values for myAttribute at all.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message