<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : Change to recurring (AKA Yet another bug fix)</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : Change to recurring (AKA Yet another bug fix)]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 30 May 2026 23:27:07 +0000</pubDate>
  <lastBuildDate>Fri, 19 Oct 2007 18:57:54 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=7241</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[Change to recurring (AKA Yet another bug fix) : 11.2.0 is fixed, thanks a bunch. ...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7241&amp;PID=27481&amp;title=change-to-recurring-aka-yet-another-bug-fix#27481</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2321">JohnCrenshaw</a><br /><strong>Subject:</strong> 7241<br /><strong>Posted:</strong> 19 October 2007 at 6:57pm<br /><br />11.2.0 is fixed, thanks a bunch.]]>
   </description>
   <pubDate>Fri, 19 Oct 2007 18:57:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7241&amp;PID=27481&amp;title=change-to-recurring-aka-yet-another-bug-fix#27481</guid>
  </item> 
  <item>
   <title><![CDATA[Change to recurring (AKA Yet another bug fix) : Just installed 11.1.3 and this...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7241&amp;PID=25372&amp;title=change-to-recurring-aka-yet-another-bug-fix#25372</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2321">JohnCrenshaw</a><br /><strong>Subject:</strong> 7241<br /><strong>Posted:</strong> 24 August 2007 at 4:17pm<br /><br />Just installed 11.1.3 and this still hasn't been fixed, just want to make sure that this gets into the next build.]]>
   </description>
   <pubDate>Fri, 24 Aug 2007 16:17:13 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7241&amp;PID=25372&amp;title=change-to-recurring-aka-yet-another-bug-fix#25372</guid>
  </item> 
  <item>
   <title><![CDATA[Change to recurring (AKA Yet another bug fix) : This should only an issue when...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7241&amp;PID=23252&amp;title=change-to-recurring-aka-yet-another-bug-fix#23252</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2321">JohnCrenshaw</a><br /><strong>Subject:</strong> 7241<br /><strong>Posted:</strong> 25 May 2007 at 1:15pm<br /><br />This should only an issue when using the MAPI data provider (I didn't test the other, so I can't be 100% sure.)<DIV>&nbsp;</DIV><DIV>In xtpcalendarmapidataprovider.cpp at line 3542 we are inside the MAPI callback, dealing with the fact that the event changed, and updating the cache. On this line, there is a silly mistake.</DIV><DIV><table width="99%"><tr><td><pre class="BBcode"><FONT color=#010001 size=2>ptrEvent2</FONT><FONT size=2>-&gt;</FONT><FONT color=#010001 size=2>SetRecurrencePatternID</FONT><FONT size=2>(</FONT><FONT color=#010001 size=2>dwPatternID</FONT><FONT size=2>);</pre></td></tr></table></FONT></DIV><DIV><FONT size=2>the pattern ID was just grabbed from another event pointer, and now it is being coppied over to this one. This is fine, except that in this case, the old event HAD no pattern ID, and the new one does. This causes the code inside <FONT color=#010001 size=2>_AddRPatternWithExceptions (called by ChangeEvent which is called on the next line) </FONT>to fail when it assumes that we DO have an ID. The fix is fairly basic.</FONT></DIV><DIV><DIV><table width="99%"><tr><td><pre class="BBcode">if (<FONT size=2><FONT color=#010001>dwPatternID != <FONT color=#010001 size=2>XTP_CALENDAR_UNKNOWN_RECURRENCE_PATTERN_ID</FONT>)</FONT></FONT></DIV><DIV><FONT color=#010001 size=2>{</FONT></DIV><DIV><FONT size=2><FONT color=#010001>&nbsp;&nbsp;&nbsp; ptrEvent2</FONT>-&gt;<FONT color=#010001>SetRecurrencePatternID</FONT>(<FONT color=#010001>dwPatternID</FONT>);</FONT></DIV><DIV><FONT size=2>}</pre></td></tr></table></FONT></DIV></DIV>]]>
   </description>
   <pubDate>Fri, 25 May 2007 13:15:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7241&amp;PID=23252&amp;title=change-to-recurring-aka-yet-another-bug-fix#23252</guid>
  </item> 
 </channel>
</rss>