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

gbellato
06.06.2007 fe4c8ab9a1c15ab0965d235bb9eccbf587cfc93e
refs
author gbellato <gbellato@localhost>
Friday, July 6, 2007 09:06 +0200
committer gbellato <gbellato@localhost>
Friday, July 6, 2007 09:06 +0200
commitfe4c8ab9a1c15ab0965d235bb9eccbf587cfc93e
tree 14330e57b6544b82491015c2c199029f6b480771 tree | zip | gz
parent 96f3c89c2f0a3a8cf902d7185aec2f2f3fc0216d view | diff
fix for 1898 : Conflicts between moddn and del generate server errors

In the solveNamingConflict method, the case when the entry has been
deleted was not correctly tested, thus leading to a NullPointerException,
The fix is simply to return since when the entry has already been deleted
there is not need to change its name anymore.

A test for this case has also been added.
2 files modified
28 ■■■■■ changed files
opends/src/server/org/opends/server/replication/plugin/ReplicationDomain.java 11 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/UpdateOperationTest.java 17 ●●●●● diff | view | raw | blame | history