[Tickets #6035] Re: subtasks loose parent task when finished

bugs at horde.org bugs at horde.org
Wed Dec 26 17:22:46 UTC 2007


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=6035
-----------------------------------------------------------------------
 Ticket             | 6035
 Updated By         | m.gabriel at das-netzwerkteam.de
 Summary            | subtasks loose parent task when finished
 Queue              | Kolab
 Type               | Bug
 State              | Unconfirmed
 Priority           | 2. Medium
 Owners             | 
+New Attachment     | task.php.patch
-----------------------------------------------------------------------


m.gabriel at das-netzwerkteam.de (2007-12-26 12:22) wrote:

this patch fixes the issue. do not know if compliant to your policies...

grimnir:/usr/local/share/_horde-versions_# diff -u
horde-webmail-1.1-rc1/nag/task.php
horde-webmail-1.1-rc1-netzwerkteam/nag/task.php
--- horde-webmail-1.1-rc1/nag/task.php  2007-11-29 12:32:56.000000000
+0000
+++ horde-webmail-1.1-rc1-netzwerkteam/nag/task.php     2007-12-26
17:19:41.000000000 +0000
@@ -210,7 +210,7 @@
     $tasklist_id = Util::getFormData('tasklist');
     if (isset($task_id)) {
         $share = $GLOBALS['nag_shares']->getShare($tasklist_id);
-        $task = new Nag_Task(Nag::getTask($tasklist_id, $task_id));
+        $task = Nag::getTask($tasklist_id, $task_id);
         if (is_a($share, 'PEAR_Error') ||
!$share->hasPermission(Auth::getAuth(), PERMS_EDIT)) {
             $notification->push(sprintf(_("Access denied completing task
%s."), $task->name), 'horde.error');
         } else {




More information about the bugs mailing list