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

gbellato
10.57.2006 b6da5b01e2f66861a485ed7b48fa887410cecb69
refs
author gbellato <gbellato@localhost>
Tuesday, October 10, 2006 14:57 +0200
committer gbellato <gbellato@localhost>
Tuesday, October 10, 2006 14:57 +0200
commitb6da5b01e2f66861a485ed7b48fa887410cecb69
tree 8c13aa27e01058e4940c86a5fc8d098fd25f2868 tree | zip | gz
parent 601871e0439dace930b02b74ec8f45b962554663 view | diff
Fix two null pointer Exception that can happen in the conflict resolution code
when
- replaying a modify operation on an entry that has already been deleted (778)
- replaying a modify DN operation to rename an entry below a parent that does not exist anymore. (775)

Fix the conflict resolution code in cases where it is necessary to generate a
conflicting DN following a modify DN operation because the new DN has already been
used by another added or renamed entry. (779)

Fix a race condition in UpdateOperationTest that can make the test fail on some platforms

Add some tests for modify DN naming conflicts

reviewed by Daniel

3 files modified
307 ■■■■ changed files
opends/src/server/org/opends/server/synchronization/ModifyDNMsg.java 20 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/SynchronizationDomain.java 129 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/synchronization/UpdateOperationTest.java 158 ●●●● diff | view | raw | blame | history