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

coulbeck
09.47.2006 ff1493a5266895521add7ccc8e987369ee10b907
refs
author coulbeck <coulbeck@localhost>
Saturday, December 9, 2006 00:47 +0100
committer coulbeck <coulbeck@localhost>
Saturday, December 9, 2006 00:47 +0100
commitff1493a5266895521add7ccc8e987369ee10b907
tree acaaa784a985c06b9ccdde95f7f85c291886031e tree | zip | gz
parent 896fcb118400d134d48509bd382cc400e3010850 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
opends/src/server/org/opends/server/backends/jeb/EqualityIndexer.java 153 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/backends/jeb/Index.java 12 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/core/ModifyOperationTestCase.java 1062 ●●●●● diff | view | raw | blame | history