Issue Details (XML | Word | Printable)

Key: DIRSERVER-784
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Ersin Er
Reporter: Ersin Er
Votes: 0
Watchers: 0
Operations

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

The server fails to handle subtree refinement membership references in entries upon object class changes

Created: 20/Nov/06 11:19 PM   Updated: 13/Feb/07 10:02 PM
Return to search
Component/s: core
Affects Version/s: 1.5.2, 1.5.1, 1.5.0, 1.0.1, 1.0, 1.0-RC4, 1.0-RC3, 1.0-RC2, 1.0-RC1, pre-1.0
Fix Version/s: 1.5.0, 1.0.1

Time Tracking:
Not Specified

Issue Links:
Incorporates
 

Resolution Date: 13/Feb/07 10:01 PM


 Description  « Hide
The test demostrating the problem:
http://svn.apache.org/viewvc/directory/trunks/apacheds/core-unit/src/test/java/org/apache/directory/server/core/subtree/SubentryServiceObjectClassChangeHandlingITest.java?view=markup&pathrev=477394

Solution:
SubentryService's modify routines should be updated so that they take action upon objectClass attribute value changes and recalculate subentry references.

PS: I have not added the test class to 1.0 branch. It should also be added there.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Alex Karasulu added a comment - 07/Feb/07 06:05 PM
Can you clarify this some more Ersin?

Thanks!

Ersin Er added a comment - 07/Feb/07 10:28 PM
Let me explain the case I had reflected in the test:

For the initial case we have an entry with object classes: top and person and there are no subtree specifications selecting this entry. Say, an existing subtree specification declares specificationFilter as item:organizationalPerson. Now, if we add a new object class to this entry like organizationalPerson, then this entry should be selected by the this subentry because it now applies to the specificationFilter criteria. Although this scenario is clear enough, it's not achieved in ApacheDS now. The problem is that SubentryService's modify routines do not handle such changes as I mentioned in the previous post.

Ersin Er added a comment - 07/Feb/07 10:53 PM
OK, I will fix this issue tomorrow. No worries.


Ersin Er added a comment - 13/Feb/07 10:02 PM
Fixed.