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)

Reply via email to