directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Seelmann (JIRA)" <>
Subject [jira] Commented: (DIRSERVER-1352) Infinite Loop when deleting an alias with suffix size > 1
Date Sat, 25 Apr 2009 21:55:30 GMT


Stefan Seelmann commented on DIRSERVER-1352:

Hi Marcos,

thanks for the patch, I applied it to trunk.

Regarding the test: You need to add a new partition with another suffix. By default the test
class starts with the system partition only. But you could define your own factory to add
additional partitions. I added the factory and two tests to the existing AddIT, see


> Infinite Loop when deleting an alias with suffix size > 1
> ---------------------------------------------------------
>                 Key: DIRSERVER-1352
>                 URL:
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: ldap
>    Affects Versions: 1.5.4
>         Environment: windows xp
>            Reporter: Marcos Macedo
>            Priority: Critical
>         Attachments:, 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
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.

View raw message