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

coulbeck
17.09.2006 0a294476a440d3b2d7cd4f7c60773ff850f9aa8e
refs
author coulbeck <coulbeck@localhost>
Tuesday, October 17, 2006 18:09 +0200
committer coulbeck <coulbeck@localhost>
Tuesday, October 17, 2006 18:09 +0200
commit0a294476a440d3b2d7cd4f7c60773ff850f9aa8e
tree 54a975f7a1e3b22bb1edae1a55e794e07b99ccc9 tree | zip | gz
parent 72225bd2fb08eb4160089ae4f2a7ea461edf0e7d view | diff
Fix for  [Issue 635]  NullPointerException when trying to access non existing entry.  Reviewed by gbellato.

The synchronization post-operation plugin did not handle the case where an operation had not been assigned a change number. A unit test is added for this. There was also an error in the increment of numReplayedPostOpCalled in the case of a non-synchronization or unsuccessful operation, since that field is documented as "the number of updates replayed successfully by the synchronization".
3 files modified
85 ■■■■■ changed files
opends/src/server/org/opends/server/synchronization/OperationContext.java 11 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/synchronization/SynchronizationDomain.java 44 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/synchronization/UpdateOperationTest.java 30 ●●●●● diff | view | raw | blame | history