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] Closed: (DIRSERVER-909) getPrimaryName() doesn't fallback to the bootstrap
Date Sun, 15 Feb 2009 14:06:59 GMT

     [ https://issues.apache.org/jira/browse/DIRSERVER-909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Emmanuel Lecharny closed DIRSERVER-909.
---------------------------------------


closed

> 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
>            Assignee: Mark Swanson
>            Priority: Minor
>             Fix For: 1.0.2
>
>
> 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