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

gbellato
06.06.2007 02e99b85ec86120b3d40584719bf16dff8d99cde
refs
author gbellato <gbellato@localhost>
Friday, July 6, 2007 09:06 +0200
committer gbellato <gbellato@localhost>
Friday, July 6, 2007 09:06 +0200
commit02e99b85ec86120b3d40584719bf16dff8d99cde
tree 1667eb6b8267163f764b747038c575fdc9a5cb1f tree | zip | gz
parent 2d63754924fee43300c218c20ac1f450ad6da558 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
opendj-sdk/opends/src/server/org/opends/server/replication/plugin/ReplicationDomain.java 11 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/UpdateOperationTest.java 17 ●●●●● diff | view | raw | blame | history