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

jvergara
22.54.2007 b0bfe00aececf145d71563c25609450f7573b5de
refs
author jvergara <jvergara@localhost>
Thursday, November 22, 2007 12:54 +0100
committer jvergara <jvergara@localhost>
Thursday, November 22, 2007 12:54 +0100
commitb0bfe00aececf145d71563c25609450f7573b5de
tree 4cb424690ee1a7f0ba278da52d8121a0c0068ac1 tree | zip | gz
parent acf366600b023d36567df4724a498071dc45395b view | diff
Fix for issue 2618.

The problem is that the root server entry is not created by default (it is used by some parts of the code to know if the ADS was initialized or not). The fix consists of updating the ADSContext.registerServer method to check if the parent entry exists. The check is only applied here since this is a particular case (and by default this check is not required for other entries in the ADS).
1 files modified
6 ■■■■■ changed files
opends/src/ads/org/opends/admin/ads/ADSContext.java 6 ●●●●● diff | view | raw | blame | history