[Tickets #1503] NEW: Recurring events when I delete a recurrence ALWAYS create an exception.

bugs at bugs.horde.org bugs at bugs.horde.org
Mon Mar 7 08:00:41 PST 2005


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

Ticket URL: http://bugs.horde.org/ticket/?id=1503
-----------------------------------------------------------------------
 Ticket             | 1503
 Created By         | scalero at datadec.es
 Summary            | Recurring events when I delete a recurrence ALWAYS create an exception.
 Queue              | Kronolith
 Version            | 2.0.2
 State              | Unconfirmed
 Priority           | 1. Low
 Type               | Bug
 Owners             | 
-----------------------------------------------------------------------


scalero at datadec.es (2005-03-07 08:00) wrote:

If you create a recurring event, for example for all days in this month, if
I delete the recurrence for day 15 and click "Future" all is OK.

But I select the same event and modify the end date again at 30 March the
recurrence of the day 15 not appear because has a exception.

I think we must add a exception only for the fisrt recurrence of the
recurring event.

POSIBLE FIX:

diff -r1.1 deleventaction.php
38,40c38,43
<             $event->addException(Util::getFormData('year'),
<                                  Util::getFormData('month'),
<                                  Util::getFormData('mday'));
---
>             if (mktime(0, 0, 0, $event->start->month, $event->start->mday,
$event->start->year) ==
>                 mktime(0, 0, 0, Util::getFormData('month'),
Util::getFormData('mday'), Util::getFormData('year'))) {
>                 $event->addException(Util::getFormData('year'),
>                                      Util::getFormData('month'),
>                                      Util::getFormData('mday'));
>             }


   




More information about the bugs mailing list