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] [Created] (DIRAPI-349) DN with hex values aren't parsed properly when not schema aware
Date Thu, 27 Jun 2019 15:38:00 GMT
Emmanuel Lecharny created DIRAPI-349:
----------------------------------------

             Summary: DN with hex values aren't parsed properly when not schema aware
                 Key: DIRAPI-349
                 URL: https://issues.apache.org/jira/browse/DIRAPI-349
             Project: Directory Client API
          Issue Type: Bug
    Affects Versions: 2.0.0.AM4
            Reporter: Emmanuel Lecharny
             Fix For: 2.0.0.AM5


If we create a DN like {{uid = #4869}},  it's properly handled when it's schema aware. However,
doing the same thing without a {{SchemaManager}} meads to some wrong normalized name to be
generated :

{code:java}
Dn dn = new Dn( "uid = #4869" );
assertEquals( "uid=Hi", dn.getNormName() );
{code}

fails, the {{dn.getNormName()}} calls returns {{uid=}}, with no value.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
For additional commands, e-mail: dev-help@directory.apache.org


Mime
View raw message