<?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>Nag task lists over WebDAV don&#039;t work</title> 
  <pubDate>Fri, 10 Apr 2026 09:04:29 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/6770</link> 
  <atom:link rel="self" type="application/rss+xml" title="Nag task lists over WebDAV don&#039;t work" href="https://bugs.horde.org/ticket/6770/rss" /> 
  <description>Nag task lists over WebDAV don&#039;t work</description> 
 
   
   
  <item> 
   <title>Somewhere between 2.2 RC3 and 2.2 final this feature stopped</title> 
   <description>Somewhere between 2.2 RC3 and 2.2 final this feature stopped working. 



I made a clean 2.2 installation on a test server and tried to access the /nag/user/user.ics (and /nag/user.ics) files using Kontact and curl. In both cases, no content is given back; the right URL gives 200 and &#039;HORDE [error] [horde] Invalid tasklist requested. [pid 28497 on line 361 of &quot;/home/bb/src/groupware/horde/horde-webmail-1.1/lib/Horde/RPC/webdav.php&quot;]&#039; in the log; the wrong one gives 404.

</description> 
   <pubDate>Wed, 28 May 2008 14:17:53 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6770#t45649</link> 
  </item> 
   
  <item> 
   <title>Bug #6947 has some additional information.</title> 
   <description>Bug #6947 has some additional information.</description> 
   <pubDate>Wed, 25 Jun 2008 09:35:30 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6770#t46799</link> 
  </item> 
   
  <item> 
   <title>&gt; Somewhere between 2.2 RC3 and 2.2 final this feature stopp</title> 
   <description>&gt; Somewhere between 2.2 RC3 and 2.2 final this feature stopped working.

&gt;

&gt; I made a clean 2.2 installation on a test server and tried to access 

&gt; the /nag/user/user.ics (and /nag/user.ics) files using Kontact and 

&gt; curl. In both cases, no content is given back; the right URL gives 

&gt; 200 and &#039;HORDE [error] [horde] Invalid tasklist requested. [pid 28497 

&gt; on line 361 of 

&gt; &quot;/home/bb/src/groupware/horde/horde-webmail-1.1/lib/Horde/RPC/webdav.php&quot;]&#039; 

&gt; in the log; the wrong one gives 404.

&gt;



I can confirm that it doesnt work under 2.2. Temporal fix? I changed nag/lib/api.php to the 2.2_RC2 versions and now it &quot;works&quot;...

</description> 
   <pubDate>Wed, 25 Jun 2008 16:49:21 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6770#t46811</link> 
  </item> 
   
  <item> 
   <title>I can confirm this bug.

The mentioned workaround wont work </title> 
   <description>I can confirm this bug.

The mentioned workaround wont work correct when it comes to uploading and does not confirm to the url nag tolds to use.

Any progress here to get it working?</description> 
   <pubDate>Thu, 26 Jun 2008 09:28:03 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6770#t46829</link> 
  </item> 
   
  <item> 
   <title>Whoops, there I go updating the wrong bug again...



Please</title> 
   <description>Whoops, there I go updating the wrong bug again...



Please try what I just committed to CVS.  Two features have been  

fixed:  the ability to download .ics files and the ability to browse  

within tasklists.



http://cvs.horde.org/diff.php/nag/lib/api.php?r1=1.183&amp;r2=1.184&amp;ty=u</description> 
   <pubDate>Thu, 26 Jun 2008 13:45:02 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6770#t46865</link> 
  </item> 
   
  <item> 
   <title>Apllied the patch, but now i got:



The method &quot;browse&quot; is </title> 
   <description>Apllied the patch, but now i got:



The method &quot;browse&quot; is not defined in the API for nag. [pid 4870 on line 361 of &quot;/var/www/test1/horde/lib/Horde/RPC/webdav.php&quot;]

</description> 
   <pubDate>Thu, 26 Jun 2008 14:33:49 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6770#t46870</link> 
  </item> 
   
  <item> 
   <title>Thanks! This fixes loading the .ics file in Kontact for me, </title> 
   <description>Thanks! This fixes loading the .ics file in Kontact for me, and also saving new entries onto the server. Editing existing entries and publishing that to the server doesn&#039;t work, I get &quot;Access denied when uploading .....ics&quot;. 



This is in the horde log:



DB Error: null value violates not-null constraint: UPDATE nag_tasks SET task_creator = &#039;bb&#039;,  task_assignee = &#039;MAILTO:bb&#039;,  task_name = &#039;Teste Nag@baby&#039;,  task_desc = &#039;Mehrzeilige



Beschreibung



mit neuem Text&#039;,  task_start = 1214431200,  task_due = 0,  task_priority = 5,  task_estimate = &#039;0.00&#039;,  task_completed = 0,  task_completed_date = 0,  task_category = &#039;&#039;,  task_alarm = 0,  task_parent = NULL,  task_private = 0 WHERE task_owner = &#039;bb&#039; AND task_id = &#039;fe4b7e6e2d4e367ea68f036b72c1bfc0&#039; [nativecode=ERROR:  null value in column &quot;task_parent&quot; violates not-null constraint] [pid 5176 on line 280 of &quot;/home/bb/src/groupware/horde/horde-webmail-1.1.1/nag/lib/Driver/sql.php&quot;]



All the other entries in the DB have task_parent = &#039;&#039; but not NULL. 



So I changed line 619 of nag/lib/api.php from 



                        isset($task-&gt;parent) ? $task-&gt;parent : $existing-&gt;parent,

to:

                        isset($task-&gt;parent) ? $task-&gt;parent : &#039;&#039;,



and now it seems to work.



Thank you for fixing this!</description> 
   <pubDate>Thu, 26 Jun 2008 14:36:59 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6770#t46873</link> 
  </item> 
   
  <item> 
   <title>Forget my last comment, solved by correcting file ownership </title> 
   <description>Forget my last comment, solved by correcting file ownership after patching ;).



Whats missing: Nag still displays the wrong abonnent url, the &quot;user&quot; part is missing - you have to add this by hand for now.



And the patch with &quot;existing-&gt;parent&quot; is needed to create new &quot;Root&quot; tasks, but it breaks creation of subtasks, so this is not solved yet.</description> 
   <pubDate>Thu, 26 Jun 2008 14:53:52 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6770#t46876</link> 
  </item> 
   
  <item> 
   <title>&gt; Apllied the patch, but now i got:

&gt;

&gt; The method &quot;browse</title> 
   <description>&gt; Apllied the patch, but now i got:

&gt;

&gt; The method &quot;browse&quot; is not defined in the API for nag. [pid 4870 on 

&gt; line 361 of &quot;/var/www/test1/horde/lib/Horde/RPC/webdav.php&quot;]

&gt;

Sometimes I have seen this if I change the file in the middle of a session.  I would suggest you log out and start a new session.  It also would not hurt to check the filesystem permissions as sometimes patching or CVS updating can &quot;adjust&quot; them for you.</description> 
   <pubDate>Thu, 26 Jun 2008 14:54:07 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6770#t46877</link> 
  </item> 
   
  <item> 
   <title>To clarify things:



Used your patch and now i can subsribe</title> 
   <description>To clarify things:



Used your patch and now i can subsribe to the tasklist.

Adding tasks and subtasks works fine with webinterface.

Adding them via webdav is broken with some the null-constraint message below, the workaround provided by bb@apc.ag can not be used, subtasks are broken than.</description> 
   <pubDate>Thu, 26 Jun 2008 15:10:04 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6770#t46879</link> 
  </item> 
   
  <item> 
   <title>&gt; Whats missing: Nag still displays the wrong abonnent url, </title> 
   <description>&gt; Whats missing: Nag still displays the wrong abonnent url, the &quot;user&quot; 

&gt; part is missing - you have to add this by hand for now.



This had been fixed in CVS already.</description> 
   <pubDate>Thu, 26 Jun 2008 15:25:37 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6770#t46883</link> 
  </item> 
   
  <item> 
   <title>OK, I have a new solution for the subtask problem.



Insert</title> 
   <description>OK, I have a new solution for the subtask problem.



Inserted on line 605 of nag/lib/api.php:



                    //apc: avoid NOT NULL constraint of the database

                    if (! $existing-&gt;parent) $existing-&gt;parent = &#039;&#039;;



and reverted the old change. 



Creating tasks and subtasks works; they are displayed correctly (with hierarchy) in Kontact but when I change something there, the hierarchy is broken. I suspect that the problem is with Kontact because it didn&#039;t work in -RC3, either. I&#039;ll try to track this down further.</description> 
   <pubDate>Fri, 27 Jun 2008 08:58:19 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6770#t46924</link> 
  </item> 
   
  <item> 
   <title>Looked at the ics contact uploads and it looks fine - is doe</title> 
   <description>Looked at the ics contact uploads and it looks fine - is does have RELATED-TO fields pointing to the parent.

Looked at the sql queries done and there is no parent set where subtasks are added. I guess on the way from parsing (the parent is set in the parser, did some logging) to persisting it, the parent gets lost, but i don&#039;t know where yet.</description> 
   <pubDate>Fri, 27 Jun 2008 09:57:36 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6770#t46926</link> 
  </item> 
   
  <item> 
   <title>I finally tracked the subtask problem and solved it.



In D</title> 
   <description>I finally tracked the subtask problem and solved it.



In Driver.php, fromiCalendar($vTodo) reads the parent_id from the vTodo file and returns that in parent_id. However, line 619 of api.php uses the parent property for saving, not parent_id. Modifying that line in this way:



                        isset($task-&gt;parent_id) ? $task-&gt;parent_id : $existing-&gt;parent_id,



solves saving subtasks from Kontact. 



I tested all cases (creating new task in Horde and in Kontact, editing existing ones) without error messages or the tasks getting out of sync. So I propose this change to be made in CVS.</description> 
   <pubDate>Fri, 27 Jun 2008 10:07:42 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6770#t46927</link> 
  </item> 
   
  <item> 
   <title>lol - nice ;-) i wanted to write the same, that driver.php u</title> 
   <description>lol - nice ;-) i wanted to write the same, that driver.php uses &quot;parent_id&quot; and api.php &quot;parent&quot; - should have known that, i may have used my time to track down this annoying VALARM problem ^^.</description> 
   <pubDate>Fri, 27 Jun 2008 10:16:44 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6770#t46928</link> 
  </item> 
   
  <item> 
   <title>_modify and _add needs this $task-&gt;parent_id fix.

After doi</title> 
   <description>_modify and _add needs this $task-&gt;parent_id fix.

After doing that, you can remove the patch from line 605, setting &#039;&#039; to existing-&gt;parent, am i right - it works fine here without.



</description> 
   <pubDate>Fri, 27 Jun 2008 10:23:26 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6770#t46929</link> 
  </item> 
   
  <item> 
   <title>Here a patchfile.</title> 
   <description>Here a patchfile.</description> 
   <pubDate>Fri, 27 Jun 2008 10:31:41 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6770#t46931</link> 
  </item> 
   
  <item> 
   <title>&gt; After doing that, you can remove the patch from line 605, </title> 
   <description>&gt; After doing that, you can remove the patch from line 605, setting &#039;&#039; 

&gt; to existing-&gt;parent, am i right - it works fine here without.

yes, I removed that.



There&#039;s also an iCal import function that uses -&gt;parent instead of parent_id, too. I assume that function must also be changed.</description> 
   <pubDate>Fri, 27 Jun 2008 10:35:41 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6770#t46932</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in CVS for this ticket:

http://cvs.h</title> 
   <description>Changes have been made in CVS for this ticket:

http://cvs.horde.org/diff.php/nag/lib/api.php?r1=1.188&amp;r2=1.189&amp;ty=u</description> 
   <pubDate>Wed, 09 Jul 2008 21:56:51 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6770#t47416</link> 
  </item> 
   
  <item> 
   <title>Really nice work guys! Correct analysis, correct fix, workin</title> 
   <description>Really nice work guys! Correct analysis, correct fix, working patch. A bug report for the hall of fame.</description> 
   <pubDate>Wed, 09 Jul 2008 21:59:32 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6770#t47417</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
