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 2009/04/25 23:57:30 UTC

[jira] Resolved: (DIRSERVER-1352) Infinite Loop when deleting an alias with suffix size > 1

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

Stefan Seelmann resolved DIRSERVER-1352.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5.5
         Assignee: Stefan Seelmann

Fixed.

> Infinite Loop when deleting an alias with suffix size > 1
> ---------------------------------------------------------
>
>                 Key: DIRSERVER-1352
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1352
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: ldap
>    Affects Versions: 1.5.4
>         Environment: windows xp
>            Reporter: Marcos Macedo
>            Assignee: Stefan Seelmann
>            Priority: Critical
>             Fix For: 1.5.5
>
>         Attachments: AliasDeleteIT.java, DIRSERVER-1352.patch
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> if you have a domain with a suffix size greather than 1, eg. dc=example,dc=com, and try to remove an alias, the operation will hang forever.
> I have traced the problem and figure that the method dropAliasIndices from JdbmStore.java have a while loop that drives the operation to hang forever if your suffix is greater than 1. Thats because the getPrefix is used with parameter 1 instead of ancestorDn.size() - 1

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