Issue Details (XML | Word | Printable)

Key: DIRSERVER-1349
Type: Bug Bug
Status: In Progress In Progress
Priority: Major Major
Assignee: Stefan Seelmann
Reporter: Marcos Macedo
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Directory ApacheDS

Alias not working with scope ONELEVEL_SCOPE

Created: 17/Apr/09 05:04 PM   Updated: 15/Aug/09 08:56 AM
Return to search
Component/s: ldap
Affects Version/s: 1.5.4
Fix Version/s: 2.0.0-RC1

Time Tracking:
Original Estimate: 4h
Original Estimate - 4h
Remaining Estimate: 4h
Remaining Estimate - 4h
Time Spent: Not Specified
Remaining Estimate - 4h

File Attachments:
  Size
Java Source File Licensed for inclusion in ASF works AliasesSearchIT.java 2009-04-20 06:59 AM Stefan Seelmann 21 kB
Java Source File Licensed for inclusion in ASF works AliasesSearchIT.java 2009-04-17 05:08 PM Marcos Macedo 6 kB
Text File Licensed for inclusion in ASF works DIRSERVER-1349.patch 2009-04-20 06:59 AM Stefan Seelmann 1.0 kB
Environment: running with windows xp


 Description  « Hide
If we do a search with one level scope and below it there is an alias, the alias do not return the aliased entry

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Marcos Macedo added a comment - 17/Apr/09 05:08 PM
Unit Test for the alias bug

Stefan Seelmann added a comment - 20/Apr/09 06:59 AM
Thanks Marcos for the tests. I attached a patch that fixes your problem and passes our integration tests. However I'd like that a server developer reviews the patch first because I'm not sure how the alias indexes work.

I also added some more tests and figured out that the search with subtree scope doesn't work as I expected. If an alias is dereferenced during the search the search isn't continued under that alias.

Emmanuel Lecharny added a comment - 26/May/09 05:17 PM
let's fix it for 1.5.5

Emmanuel Lecharny added a comment - 15/Aug/09 08:56 AM
Postponed to 2.0.0-RC1