You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2007/10/11 12:53:50 UTC

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

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.0.2, 1.5.1
            Reporter: Emmanuel Lecharny
            Priority: Minor
             Fix For: 2.0.0


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.


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

Posted by "Stefan Seelmann (JIRA)" <ji...@apache.org>.
     [ 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.


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

Posted by "Stefan Seelmann (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-1085?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Seelmann resolved DIRSERVER-1085.
----------------------------------------

    Resolution: Fixed

Fixed in trunk and bigbang:
  http://svn.apache.org/viewvc?rev=667763&view=rev
  http://svn.apache.org/viewvc?rev=667762&view=rev


> 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.


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

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-1085?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny closed DIRSERVER-1085.
----------------------------------------


> 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.