mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

coulbeck
09.47.2006 25e0bb6db67299a2e6c9c948273b32ca929c4c80
refs
author coulbeck <coulbeck@localhost>
Saturday, December 9, 2006 00:47 +0100
committer coulbeck <coulbeck@localhost>
Saturday, December 9, 2006 00:47 +0100
commit25e0bb6db67299a2e6c9c948273b32ca929c4c80
tree 33646a105d6fce5785cc2228898bfae5ef2ae6d1 tree | zip | gz
parent af0400482a07e77d9a4f68122977d685143872cc view | diff
Fix for issues 593, 1045 and 1060.

593: attribute indexes need to support subtypes and options
1045: possible index corruption (subtree search fails to return matching entry)
1060: entry disappears when modifying with ldapbrowser

There were bugs in the way an equality index was updated for a modify operation. Trying to determine the index changes from the sequence of modifications did not work in the general case. Now, it ought to be correct in all cases.

I've changed many of the modify operation unit tests to run against the JE backend instead of the memory backend. Also I changed the tests to modify the mail attribute instead of description, because description is not indexed.
3 files modified
1227 ■■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/backends/jeb/EqualityIndexer.java 153 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/backends/jeb/Index.java 12 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/core/ModifyOperationTestCase.java 1062 ●●●●● diff | view | raw | blame | history