summaryrefslogtreecommitdiffstats
path: root/ldap/admin/src/scripts
diff options
context:
space:
mode:
authorNoriko Hosoi <nhosoi@redhat.com>2010-03-18 11:52:17 -0700
committerNoriko Hosoi <nhosoi@redhat.com>2010-03-18 11:52:17 -0700
commit6236bb36b7afddceb41528f31f604f8940a752f2 (patch)
tree17b03b0cc8504ba42cf8c55e16ffa33b4bf9863b /ldap/admin/src/scripts
parentd06cce8da19faba2a8d664c28123cda5808610c9 (diff)
downloadds-6236bb36b7afddceb41528f31f604f8940a752f2.tar.gz
ds-6236bb36b7afddceb41528f31f604f8940a752f2.tar.xz
ds-6236bb36b7afddceb41528f31f604f8940a752f2.zip
515805 - Stop "initialize Database" crashes the server
https://bugzilla.redhat.com/show_bug.cgi?id=515805 Fix Description: SLAPI_TASK_CANCELLED could be set in task_modify any time by users' modifying nsTaskCancel value to TRUE. Then the following slapi_task_status_changed destroys the task, which is called even via a simple logging call slapi_task_log_status. After the task is destroyed, any task related calls such as another slapi_task_log_status or slapi_task_finish crashes the server. This fix changes the behaviour to destroy the task only when task_state is SLAPI_TASK_FINISHED. Once SLAPI_TASK_CANCELLED is set to task_state, changing the state to SLAPI_TASK_FINISHED by calling slapi_task_finish is the responsibility of the task application (e.g., import). Until then, it is guranteed that the task is available.
Diffstat (limited to 'ldap/admin/src/scripts')
0 files changed, 0 insertions, 0 deletions