6.0.0-beta1
7/18/25

[#7004] Can't save empty task list over WebDAV
Summary Can't save empty task list over WebDAV
Queue Nag
Queue Version 2.2
Type Bug
State Resolved
Priority 1. Low
Owners jan (at) horde (dot) org
Requester bb (at) apc (dot) ag
Created 07/01/2008 (6226 days ago)
Due
Updated 08/18/2008 (6178 days ago)
Assigned 07/02/2008 (6225 days ago)
Resolved 08/18/2008 (6178 days ago)
Github Issue Link
Github Pull Request
Milestone 2.2.1
Patch No

History
08/18/2008 10:32:31 PM Jan Schneider Comment #4
Taken from Ben Klang
State ⇒ Resolved
Reply to this comment
Fixed in CVS.
08/18/2008 10:31:02 PM CVS Commit Comment #3 Reply to this comment
Changes have been made in CVS for this ticket:

http://cvs.horde.org/diff.php/nag/lib/api.php?r1=1.192&r2=1.193&ty=u
07/06/2008 05:29:54 PM Jan Schneider Milestone ⇒ 2.2.1
 
07/02/2008 06:18:30 AM Chuck Hagenbuch Assigned to Jan Schneider
State ⇒ Assigned
Assigned to Ben Klang
 
07/01/2008 07:42:59 AM bb (at) apc (dot) ag Comment #2 Reply to this comment
It works if I comment out the 3 lines in nag/lib/api.php from line 490 on:



         #if (count($components) == 0) {

         #    return PEAR::raiseError(_("No iCalendar data was found."));

         #}



The format of the file is already checked before so it's unnecessary 
to raise an error if Nag receives a correct vCalender file with zero 
vTodos. The loop after the check won't get executed but this is not a 
problem. After saving from the client, the task list empty as it 
should be.
07/01/2008 06:58:13 AM bb (at) apc (dot) ag Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Can't save empty task list over WebDAV
Queue ⇒ Nag
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
Steps to reproduce (using Nag from CVS so WebDAV works):



1. Create a task list in Horde.

2. Subscribe the URL in Kontact or another WebDAV/GroupDAV client.

3. Create a new task in the task list.

4. Check that the task is there in the web interface.

5. Delete the task in your client and let it upload the changes. 
Kontact displays "Unexpected error 400" and the server log contains 
"HORDE [error] [horde] Es wurden keine iCalendar-Daten gefunden. [pid 
10097 on line 157 of 
"/usr/local/share/horde-webmail-1.1.1/lib/Horde/RPC/webdav.php"]" (No 
iCalendar data found.)



Workaround: delete the task in the web interface.


Saved Queries