directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Swanson (JIRA)" <j...@apache.org>
Subject [jira] Created: (DIRSERVER-909) getPrimaryName() doesn't fallback to the bootstrap
Date Sun, 22 Apr 2007 19:13:15 GMT
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.


Mime
View raw message