You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2013/10/15 07:22:42 UTC

[jira] [Created] (DIRSERVER-1906) We still store entryUUID associated with 'top' in the OC index

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)