directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DIRSERVER-1906) We still store entryUUID associated with 'top' in the OC index
Date Tue, 15 Oct 2013 05:22:42 GMT
Emmanuel Lecharny created DIRSERVER-1906:
--------------------------------------------

             Summary: We still store entryUUID associated with 'top' in the OC index
                 Key: DIRSERVER-1906
                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1906
             Project: Directory ApacheDS
          Issue Type: Bug
    Affects Versions: 2.0.0-M15
            Reporter: Emmanuel Lecharny
            Priority: Critical
             Fix For: 2.0.0-RC1


Due to the way the ValueString.equals() method is implemented, we don't bypass the 'top' OC
when storing the entryUUID vaue in the OC index :

            for ( Value<?> value : objectClass )
            {
                if ( value.equals( SchemaConstants.TOP_OC ) )
...

    public boolean equals( Object obj )
    {
        ...
        if ( !( obj instanceof StringValue ) )
        {
            return false;
        }




--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message