You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Stefan Seelmann (JIRA)" <ji...@apache.org> on 2008/06/14 09:53:45 UTC

[jira] Updated: (DIRSERVER-1085) Modify.RENAME operation may not work well with multiple attributes RDN

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

Stefan Seelmann updated DIRSERVER-1085:
---------------------------------------

    Affects Version/s:     (was: 1.5.1)
                       1.5.2
        Fix Version/s:     (was: 2.0.0)
                       1.5.3
                       1.5.4
             Assignee: Stefan Seelmann

There are some more issues when enabling deleteOldRdn. renaming "cn=alan smith" to "uid=asmith" deletes the cn attribute.

We need to
- Add support for multi-valued RDN in JdbmStore.rename()
- Fix handling of deleteOldRdn in JdbmStore.rename()
- Add checks to SchemaIntercepter.rename() to prevent deletion of must or operational attributes
- Add tests to ModifyRdnTest


> Modify.RENAME operation may not work well with multiple attributes RDN
> ----------------------------------------------------------------------
>
>                 Key: DIRSERVER-1085
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1085
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.5.2, 1.0.2
>            Reporter: Emmanuel Lecharny
>            Assignee: Stefan Seelmann
>            Priority: Minor
>             Fix For: 1.5.4, 1.5.3
>
>
> When doing a rename modification, the way the RDN is handled is not good fi the RDN is not a single attribute :
> cn=smith+givenname=alan, dc=example, dc=org
> renamed to cn=asmith will lose some informations. Renaming to cn=smith+givenname=paul will also lose some information, leaving the entry in a bad state.
> (tests to be provided soon)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.