<?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>Recurring events when I delete a recurrence ALWAYS create an exception.</title> 
  <pubDate>Thu, 09 Apr 2026 16:55:01 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/1503</link> 
  <atom:link rel="self" type="application/rss+xml" title="Recurring events when I delete a recurrence ALWAYS create an exception." href="https://bugs.horde.org/ticket/1503/rss" /> 
  <description>Recurring events when I delete a recurrence ALWAYS create an exception.</description> 
 
   
   
  <item> 
   <title>If you create a recurring event, for example for all days in</title> 
   <description>If you create a recurring event, for example for all days in this month, if I delete the recurrence for day 15 and click &quot;Future&quot; 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

&lt;             $event-&gt;addException(Util::getFormData(&#039;year&#039;),

&lt;                                  Util::getFormData(&#039;month&#039;),

&lt;                                  Util::getFormData(&#039;mday&#039;));

---

&gt;             if (mktime(0, 0, 0, $event-&gt;start-&gt;month, $event-&gt;start-&gt;mday, $event-&gt;start-&gt;year) ==

&gt;                 mktime(0, 0, 0, Util::getFormData(&#039;month&#039;), Util::getFormData(&#039;mday&#039;), Util::getFormData(&#039;year&#039;))) {

&gt;                 $event-&gt;addException(Util::getFormData(&#039;year&#039;),

&gt;                                      Util::getFormData(&#039;month&#039;),

&gt;                                      Util::getFormData(&#039;mday&#039;));

&gt;             }





   </description> 
   <pubDate>Mon, 07 Mar 2005 16:00:41 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1503#t6137</link> 
  </item> 
   
  <item> 
   <title>It looks to me like that addException() call in the &#039;future&#039;</title> 
   <description>It looks to me like that addException() call in the &#039;future&#039; case was simply left over and shouldn&#039;t be there at all - please test what happens when you just remove it?</description> 
   <pubDate>Mon, 28 Mar 2005 19:57:50 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1503#t6673</link> 
  </item> 
   
  <item> 
   <title>OK you can remove the event directly in the &#039;future&#039; case li</title> 
   <description>OK you can remove the event directly in the &#039;future&#039; case like this:



diff  deleventaction.php



line 38



&lt;             $event-&gt;addException(Util::getFormData(&#039;year&#039;),

&lt;                                  Util::getFormData(&#039;month&#039;),

&lt;                                  Util::getFormData(&#039;mday&#039;));

---

&gt;             if (mktime(0, 0, 0, $event-&gt;start-&gt;month, $event-&gt;start-&gt;mday, $event-&gt;start-&gt;year) ==

&gt;                 mktime(0, 0, 0, Util::getFormData(&#039;month&#039;), Util::getFormData(&#039;mday&#039;), Util::getFormData(&#039;year&#039;))) {

&gt;                 $kronolith-&gt;deleteEvent($event-&gt;getID());

&gt;             } else

&gt;                 $event-&gt;save();





line 49



&lt;         if ($event-&gt;hasRecurType(KRONOLITH_RECUR_NONE) || Util::getFormData(&#039;all&#039;) || !$event-&gt;hasActiveRecurrence()) {

---

&gt;         if (isset($event) &amp;&amp; ($event-&gt;hasRecurType(KRONOLITH_RECUR_NONE) || Util::getFormData(&#039;all&#039;) || !$event-&gt;hasActiveRecurrence())) {







Sebastian Calero.</description> 
   <pubDate>Tue, 29 Mar 2005 08:52:57 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1503#t6695</link> 
  </item> 
   
  <item> 
   <title>1. Please use unified diffs and upload patches as attachment</title> 
   <description>1. Please use unified diffs and upload patches as attachments instead of pasting them.



2. I don&#039;t think that patch makes sense. Why wouldn&#039;t the hasActiveRecurrences() call catch the case you&#039;re talking about?



I&#039;ve committed a fix for what I&#039;ve been able to reproduce.</description> 
   <pubDate>Thu, 31 Mar 2005 04:16:34 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1503#t6767</link> 
  </item> 
   
  <item> 
   <title>1.- Sorry.



2.- I was mistaken in this point.  I thought t</title> 
   <description>1.- Sorry.



2.- I was mistaken in this point.  I thought the function &#039;hasActiveRecurrence&#039; must to return only true if the event has more than ONE recurrence.  Sorry again.



Your patch seems optimal and I have already applied it.





Greetings and thanks.



Sebastian Calero.</description> 
   <pubDate>Thu, 31 Mar 2005 09:30:02 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1503#t6775</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
