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

jvergara
04.47.2008 cdec4282fbd2f19e84020dd1fc1e2ec785c76d42
refs
author jvergara <jvergara@localhost>
Tuesday, November 4, 2008 18:47 +0100
committer jvergara <jvergara@localhost>
Tuesday, November 4, 2008 18:47 +0100
commitcdec4282fbd2f19e84020dd1fc1e2ec785c76d42
tree 85599b33a17dbdd13920d4e4c67a1ef0696d4f0c tree | zip | gz
parent 0deb93de4b223e705fc669b04a386c3453733f99 view | diff
Fix for issue 3554 (Control Panel : Error displayed after deleting several entries).

The problem came because we were setting a subtree delete control on the same di
r context used to refresh the tree. This generate some problems with the connec
tion that got closed. The fix consists on analyzing the node that is being dele
ted, if it contains over 40 subordinates, we use another connection and the subt
ree delete control, if not we delete the subtree recursively.

The number of notifications in the logs and the calls to the event thread have b
een reduced since they had quite a bit of impact in performance.

The code has been updated so that after restarting the server we try to reuse th
e previously provided credentials, instead of simply asking the user to login ag
ain.
4 files modified
354 ■■■■■ changed files
opendj-sdk/opends/src/guitools/org/opends/guitools/controlpanel/datamodel/ControlPanelInfo.java 37 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/guitools/org/opends/guitools/controlpanel/task/DeleteEntryTask.java 288 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/guitools/org/opends/guitools/controlpanel/ui/ControlCenterMainPane.java 2 ●●● diff | view | raw | blame | history
opendj-sdk/opends/src/guitools/org/opends/guitools/controlpanel/util/Utilities.java 27 ●●●●● diff | view | raw | blame | history