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

boli
31.19.2007 e25d897908d93ab4f9cabadb1029ad3352602d5d
refs
author boli <boli@localhost>
Wednesday, October 31, 2007 23:19 +0100
committer boli <boli@localhost>
Wednesday, October 31, 2007 23:19 +0100
commite25d897908d93ab4f9cabadb1029ad3352602d5d
tree 3d5dd481c4a3300c39ba450751fc1c029b7e7661 tree | zip | gz
parent 13117e08c9cf5c7da1afcf5c0081f8df169a315c view | diff
This set of fixes mainly address the issues where the JE backend does not handle attributes with options and subtypes correctly when they are being indexed. 
With this fix:
- All values of an indexed attribute type will be indexed correctly on modifies, adds, and deletes.
- Updates to subordinate types will now update the superior type if its indexed.
- Adding and deleting superior attribute types that are not allowed by any object classes (ie. name) will be correctly handled
- Deleting all values from an attribute with no options will no longer delete the values from the same attribute but with options.

12 files modified
864 ■■■■■ changed files
opends/src/server/org/opends/server/backends/jeb/ApproximateIndexer.java 32 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/backends/jeb/EntryContainer.java 14 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/backends/jeb/EqualityIndexer.java 159 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/backends/jeb/OrderingIndexer.java 93 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/backends/jeb/PresenceIndexer.java 19 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/backends/jeb/SubstringIndexer.java 75 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/backends/jeb/VLVIndex.java 15 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/types/Entry.java 243 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/resource/config-changes.ldif 12 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/backends/jeb/TestBackendImpl.java 154 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/types/EntrySchemaCheckingTestCase.java 30 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/types/TestEntry.java 18 ●●●●● diff | view | raw | blame | history