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] [Resolved] (DIRAPI-271) Multi-valued RDN should allow AVAs with same attribute
Date Wed, 11 May 2016 13:17:12 GMT

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

Emmanuel Lecharny resolved DIRAPI-271.
--------------------------------------
       Resolution: Fixed
    Fix Version/s:     (was: 1.0.0-M34)
                   2.0.0

This is fixed in the value branch. Here is a test for this use case :

{noformat}
    /**
     * test that a RDN with an attributeType used twice but with different value
     * is accepted
     */
    @Test
    public void testRdnAtUsedTwiceDifferentValue() throws LdapException
    {
        Rdn rdn1 = new Rdn( schemaManager, " cn = c + cn = b " );
        Rdn rdn2 = new Rdn( schemaManager, " cn = b + cn = c " );
        
        assertEquals( rdn1, rdn2 );
    }
{noformat}

> Multi-valued RDN should allow AVAs with same attribute
> ------------------------------------------------------
>
>                 Key: DIRAPI-271
>                 URL: https://issues.apache.org/jira/browse/DIRAPI-271
>             Project: Directory Client API
>          Issue Type: Bug
>    Affects Versions: 1.0.0-M33
>            Reporter: Stefan Seelmann
>             Fix For: 2.0.0
>
>
> Dn/Rdn should allow multi-valued RDN which contains the same AT (but with different AVA)
multiple times, e.g. {{cn=a + cn=b}}.
> Related Studio issue: DIRSTUDIO-987
> Related discussion on th ML: https://mail-archives.apache.org/mod_mbox/directory-dev/201602.mbox/%3C56CB6957.2030200%40stefan-seelmann.de%3E



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message