[Tickets #7004] Re: Can't save empty task list over WebDAV

bugs at horde.org bugs at horde.org
Tue Jul 1 07:43:01 UTC 2008


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

Ticket URL: http://bugs.horde.org/ticket/7004
------------------------------------------------------------------------------
  Ticket             | 7004
  Updated By         | bb at apc.ag
  Summary            | Can't save empty task list over WebDAV
  Queue              | Nag
  Version            | 2.2
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


bb at apc.ag (2008-07-01 03:42) wrote:

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.





More information about the bugs mailing list