[
https://issues.apache.org/jira/browse/DIRSERVER-909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Emmanuel Lecharny updated DIRSERVER-909:
----------------------------------------
Fix Version/s: (was: 1.0.1)
1.0.2
The 1.0.1 version has already been released, so this bug is moved to 1.0.2
> 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.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.