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

coulbeck
17.09.2006 3a31430c1d80863bdee62d29e251bd41377e134d
refs
author coulbeck <coulbeck@localhost>
Tuesday, October 17, 2006 18:09 +0200
committer coulbeck <coulbeck@localhost>
Tuesday, October 17, 2006 18:09 +0200
commit3a31430c1d80863bdee62d29e251bd41377e134d
tree ca74296f477583d3cbe6cde82da8a7368c467311 tree | zip | gz
parent c99903f2c5ecc7e4b53eb21f7eecf8948c431a11 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
opendj-sdk/opends/src/server/org/opends/server/synchronization/OperationContext.java 11 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/synchronization/SynchronizationDomain.java 44 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/synchronization/UpdateOperationTest.java 30 ●●●●● diff | view | raw | blame | history