directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lecharny <>
Subject Failing ModifyRdnTest
Date Sat, 08 Dec 2007 12:41:07 GMT
Hi Alex,

I have spent some time invastigating the failing test in server-unit. I 
havz to run, so I pass the ball back to you now. Here is what I have 
found : the 'cn' Attribute is stored using the normalized value in the 
backend, for some strange reason. This is why the test fails, as there 
is a assetEquals( "Tori Amos", "tori amos" ) in the test.

The getAttributes( "cn" ) returns "tori amos" instead of "Tori Amos", 
because the serialization stores the wrong value. This is bad, and will 
be fixed definitively as soon as we switch to the ServerEntry thing, and 
as soon as we store both values ( UP and normalized values) in the backend.

At the end, it's not a serious issue. I would consider simply to modify 
the test for the moment, replacing the comparison to a case insensitive 
one. The best would be to reactivate the test when we will be done with 
the switch ...

wdyt ?

cordialement, regards,
Emmanuel L├ęcharny

View raw message