getPrimaryName() doesn't fallback to the bootstrap
--------------------------------------------------

                 Key: DIRSERVER-909
                 URL: https://issues.apache.org/jira/browse/DIRSERVER-909
             Project: Directory ApacheDS
          Issue Type: Bug
    Affects Versions: 1.0.1
         Environment: Linux, Java 6
            Reporter: Mark Swanson
         Assigned To: Mark Swanson
            Priority: Minor
             Fix For: 1.0.1


The GlobalOidRegistry doesn't fallback to the bootstrap registry for the method 
getPrimaryName(String oid).

The fix (about line 428) works for me:

    public String getPrimaryName( String oid ) throws NamingException
    {
        Object value = byOid.get( oid );

        if ( null == value )
        {
            // MS - default to the bootstrap registry
            value = bootstrap.getPrimaryName(oid);
        }

        if ( null == value )

This fix applies to 1.0.1 only.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to