directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Carlo.Acco...@ibs-ag.com>
Subject RE: FW: Hi Again, substring searches among 80K entires - still an issue
Date Mon, 25 Jun 2012 13:25:13 GMT
Ok, we're rebuilding now. Will let you know and thanks!

Regards,
Carlo Accorsi

-----Original Message-----
From: Emmanuel Lécharny [mailto:elecharny@gmail.com] 
Sent: Monday, June 25, 2012 9:18 AM
To: users@directory.apache.org
Subject: Re: FW: Hi Again, substring searches among 80K entires - still an issue

Fixed

http://svn.apache.org/viewvc?rev=1353518&view=rev

You can build the trunk and check if it's ok with your test.


Le 6/25/12 2:00 PM, Emmanuel Lécharny a écrit :
> I was able to make the test suceed, by simply replacing this line :
>
>               connection.modify( dn, new DefaultModification( 
> ModificationOperation.REPLACE_ATTRIBUTE, "displayName", "Test User1 
> updated" ) );
>
> by
>
>               connection.modify( dn, new DefaultModification( 
> ModificationOperation.REPLACE_ATTRIBUTE, "displayName", "test user1 
> updated" ) );
>
> That means the modify() operation does not normalize the value before 
> storing it into the bakend, keeping the uper cases, when the filter 
> use a regexp which is case sensitive.
>
> There is clearly a bug in the way we process the modification, the 
> value *must* be normalized.
>
> I'll fix that asap.
>
>
> Le 6/25/12 1:31 PM, Emmanuel Lécharny a écrit :
>> Ok, problem confirmed. I don't even have to create 80K entries, I get 
>> the issue with only 4 entries...
>>
>> Invertigation the issue right now. A clear bug, in any case !
>>
>>
>
>


--
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com

Mime
View raw message