<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>syncml broken because of tasklist required on update</title> 
  <pubDate>Wed, 08 Apr 2026 08:01:42 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/8175</link> 
  <atom:link rel="self" type="application/rss+xml" title="syncml broken because of tasklist required on update" href="https://bugs.horde.org/ticket/8175/rss" /> 
  <description>syncml broken because of tasklist required on update</description> 
 
   
   
  <item> 
   <title>When trying to sync horde tasklist with a recent funambol mo</title> 
   <description>When trying to sync horde tasklist with a recent funambol mozilla client, this failes because it is tried to update a tasklist of an existing task to NULL.



In /usr/share/horde/horde/nag/lib/Driver.php on line 345 an error occurs because $share is a PEAR_ERROR. This is not properly caught.



The solution is to change line 322 to look like

         if ($task-&gt;tasklist != $tasklist &amp;&amp; $tasklist != null) {

. This prevents setting a tasklist to NULL. Calling modify with tasklist=NULL looks valid to me, because the parameter is declared optional.</description> 
   <pubDate>Thu, 09 Apr 2009 07:46:10 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8175#t53602</link> 
  </item> 
   
  <item> 
   <title>We already *do* test whether $tasklist is null:

http://cvs.</title> 
   <description>We already *do* test whether $tasklist is null:

http://cvs.horde.org/annotate.php/nag/lib/Driver.php?rev=1.57.2.26#l322</description> 
   <pubDate>Thu, 16 Apr 2009 21:51:14 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8175#t53694</link> 
  </item> 
   
  <item> 
   <title>Thanks for no feedback notification, when i read your last m</title> 
   <description>Thanks for no feedback notification, when i read your last message i just thought it would have been included after the release on groupware-webmail-1.2.2 and so no feedback would be required.



Looking into the code i found that that line has been included in cvs since 2008 but is not in the stable horde groupware webmail 1.2.2 release end of jan 2009, where code looks like this:



      %        $new_task = $this-&gt;get($task-&gt;id);

      %        $log_tasklist = $this-&gt;_tasklist;

322 %        if ($task-&gt;tasklist != $tasklist) {

      %            /* Moving the task to another tasklist. */

      %            $share = $GLOBALS[&#039;nag_shares&#039;]-&gt;getShare($task-&gt;tasklist);

      %            if (!is_a($share, &#039;PEAR_Error&#039;) &amp;&amp;



I don&#039;t know why it is not in the released code or how to find the release version in cvs (a GROUPWARE_WEBMAIL_1_2_2 tag would be great).



It is probably sufficient to include that line as it is in cvs into the next release.</description> 
   <pubDate>Wed, 29 Apr 2009 18:37:19 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8175#t53937</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
