bit of log info here...
Just above the if (!aItem.recurrencInfo) {} I've added a sdbg line that prints out the "nextRem.icalString". Also included is a sdbg statement that shows when nextOcc was null.
This is the output:
readDismissSnoozeState: nextRem.icalString = 20100903T054500Z
readDismissSnoozeState: no previous occurrence found (means nextOCC === null)
These lines must be the ones for the <CalendarItem> dumped below. That day i have 3 reoccuring events, but only this one does start 20100903 - so i'm sure i grabbed the right one. (look all ath the bottom, there are other nextRem.icalStrings which don't match.
It really seems the very first occurence gets hit - and that hasn'T a "PreviousOccurence that can be fetched, so nextOcc is set to null.
For the timezones: i'm in GMT+2 whereas the original date is GMT-6 (Mountain Std Time)
----------------cut ----------------- <t:CalendarItem> <t:ItemId Id="AAMkADc2MTUyZTFmLTRkYTgtNDQ1NC1iNmE1LWVlYTY0YzJhZmRjOQBGAAAAAABJp9XcLhx6Qrxwms0wmfqNBwAGyqTTdTxTQI0s5jQLaERCAAAE89e9AABOIkmWM7JsRrJ6RLSojS6QAItWfaCWAAA=" ChangeKey="DwAAABYAAABOIkmWM7JsRrJ6RLSojS6QAItWfcDC"/> <t:Subject>Inviter - OOO</t:Subject> <t:Body BodyType="Text">When: Occurs every Friday effective 9/3/2010 until 12/17/2010 (GMT-07:00) Mountain Time (US & Canada).
Note: The GMT offset above does not reflect daylight saving time adjustments.
Hi Simon,
bit of log info here... recurrencInfo) {} I've added a sdbg line that prints out the "nextRem. icalString" . Also included is a sdbg statement that shows when nextOcc was null.
Just above the if (!aItem.
This is the output: zeState: nextRem.icalString = 20100903T054500Z zeState: no previous occurrence found (means nextOCC === null)
readDismissSnoo
readDismissSnoo
These lines must be the ones for the <CalendarItem> dumped below. That day i have 3 reoccuring events, but only this one does start 20100903 - so i'm sure i grabbed the right one. (look all ath the bottom, there are other nextRem.icalStrings which don't match.
It really seems the very first occurence gets hit - and that hasn'T a "PreviousOccurence that can be fetched, so nextOcc is set to null.
For the timezones: i'm in GMT+2 whereas the original date is GMT-6 (Mountain Std Time)
----------------cut -----------------
<t: CalendarItem>
<t:ItemId Id="AAMkADc2MTU yZTFmLTRkYTgtND Q1NC1iNmE1LWVlY TY0YzJhZmRjOQBG AAAAAABJp9XcLhx 6Qrxwms0wmfqNBw AGyqTTdTxTQI0s5 jQLaERCAAAE89e9 AABOIkmWM7JsRrJ 6RLSojS6QAItWfa CWAAA=" ChangeKey= "DwAAABYAAABOIk mWM7JsRrJ6RLSoj S6QAItWfcDC" />
<t:Subject> Inviter - OOO</t:Subject>
<t:Body BodyType= "Text"> When: Occurs every Friday effective 9/3/2010 until 12/17/2010 (GMT-07:00) Mountain Time (US & Canada).
Note: The GMT offset above does not reflect daylight saving time adjustments.
*~*~*~* ~*~*~*~ *~*~*</ t:Body>
<t:DateTimeRece ived>2010- 08-23T02: 38:12Z< /t:DateTimeRece ived>
<t:ReminderDueB y>2010- 09-24T06: 00:00Z< /t:ReminderDueB y>
<t:ReminderIsSe t>true< /t:ReminderIsSe t>
<t:ReminderMinu tesBeforeStart> 15</t:ReminderM inutesBeforeSta rt>
<t:ExtendedProp erty>
<t:ExtendedFi eldURI DistinguishedPr opertySetId= "Common" PropertyId="34144" PropertyType= "SystemTime" />
<t:Value> 2010-09- 03T05:45: 00Z</t: Value>
</t:ExtendedPro perty>
<t:ExtendedProp erty>
<t:ExtendedFi eldURI DistinguishedPr opertySetId= "Meeting" PropertyId="3" PropertyType= "Binary" />
<t:Value> BAAAAIIA4AB0xbc QGoLgCAAAAACAKk fZOULLAQAAAAAAA AAAEAAAAOB4NNX9 FRpApjTBPAe40CY =</t:Value>
</t:ExtendedPro perty>
<t:UID> 040000008200E00 074C5B7101A82E0 0800000000802A4 7D93942CB010000 000000000000100 00000E07834D5FD 151A40A634C13C0 7B8D026< /t:UID>
<t:Start> 2010-09- 03T06:00: 00Z</t: Start>
<t:End> 2010-09- 04T06:00: 00Z</t: End>
<t:IsAllDayEven t>true< /t:IsAllDayEven t>
<t:Location/ >
<t:IsCancelled> false</ t:IsCancelled>
<t:CalendarItem Type>RecurringM aster</ t:CalendarItemT ype>
<t:MyResponseTy pe>NoResponseRe ceived< /t:MyResponseTy pe>
<t:Organizer>
<t:Mailbox>
<t: Name>inviter full name</t:Name>
<t: EmailAddress> <email address hidden> </t:EmailAddres s>
<t: RoutingType> SMTP</t: RoutingType>
</t:Mailbox>
</t:Organizer>
<t:RequiredAtte ndees>
<t:Attendee>
<t: Mailbox>
< t:Name> inviter full name</t:Name>
< t:EmailAddress> <email address hidden> </t:EmailAddres s>
< t:RoutingType> SMTP</t: RoutingType>
</t: Mailbox>
<t: ResponseType> Unknown< /t:ResponseType >
</t:Attendee>
<t:Attendee>
<t: Mailbox>
< t:Name> Group1< /t:Name>
< t:EmailAddress> <email address hidden> </t:EmailAddres s>
< t:RoutingType> SMTP</t: RoutingType>
</t: Mailbox>
<t: ResponseType> Unknown< /t:ResponseType >
</t:Attendee>
<t:Attendee>
<t: Mailbox>
< t:Name> Group2< /t:Name>
< t:EmailAddress> <email address hidden> </t:EmailAddres s>
< t:RoutingType> SMTP</t: RoutingType>
</t: Mailbox>
<t: ResponseType> Unknown< /t:ResponseType >
</t:Attendee>
<t:Attendee>
<t: Mailbox>
< t:Name> Group3< /t:Name>
< t:EmailAddress> <email address hidden> </t:EmailAddres s>
< t:RoutingType> SMTP</t: RoutingType>
</t: Mailbox>
<t: ResponseType> Unknown< /t:ResponseType >
</t:Attendee>
<t:Attendee>
<t: Mailbox>
< t:Name> Group4< /t:Name>
< t:EmailAddress> <email address hidden> </t:EmailAddres s>
< t:RoutingType> SMTP</t: RoutingType>
</t: Mailbox>
<t: ResponseType> Unknown< /t:ResponseType >
</t:Attendee>
<t:Attendee>
<t: Mailbox>
< t:Name> Person1< /t:Name>
< t:EmailAddress> <email address hidden> </t:EmailAddres s>
< t:RoutingType> SMTP</t: RoutingType>
</t: Mailbox>
<t: ResponseType> Unknown< /t:ResponseType >
</t:Attendee>
</t:RequiredAtt endees>
<t:Recurrence>
<t:WeeklyRecu rrence>
<t: Interval> 1</t:Interval>
<t: DaysOfWeek> Friday< /t:DaysOfWeek>
</t:WeeklyRec urrence>
<t:EndDateRec urrence>
<t: StartDate> 2010-09- 03Z</t: StartDate>
<t: EndDate> 2010-12- 17Z</t: EndDate>
</t:EndDateRe currence>
</t:Recurrence>
<t:FirstOccurre nce>
<t:ItemId Id="AAMkADc2MTU yZTFmLTRkYTgtND Q1NC1iNmE1LWVlY TY0YzJhZmRjOQFR AAiIzRkSFhnAAEY AAAAASafV3C4cek K8cJrNMJn6jQcAB sqk03U8U0CNLOY0 C2hEQgAABPPXvQA ATiJJljOybEayek S0qI0ukACLVn2gl gAAEA== " ChangeKey= "DwAAABYAAABOIk mWM7JsRrJ6RLSoj S6QAItWfcDC" />
<t:Start> 2010-09- 03T06:00: 00Z</t: Start>
<t:End> 2010-09- 04T06:00: 00Z</t: End>
<t:OriginalSt art>2010- 09-03T06: 00:00Z< /t:OriginalStar t>
</t:FirstOccurr ence>
<t:LastOccurren ce>
<t:ItemId Id="AAMkADc2MTU yZTFmLTRkYTgtND Q1NC1iNmE1LWVlY TY0YzJhZmRjOQFR AAiIzWuUe3mAAEY AAAAASafV3C4cek K8cJrNMJn6jQcAB sqk03U8U0CNLOY0 C2hEQgAABPPXvQA ATiJJljOybEayek S0qI0ukACLVn2gl gAAEA== " ChangeKey= "DwAAABYAAABOIk mWM7JsRrJ6RLSoj S6QAItWfcDC" />
<t:Start> 2010-12- 17T07:00: 00Z</t: Start>
<t:End> 2010-12- 18T07:00: 00Z</t: End>
<t:OriginalSt art>2010- 12-17T07: 00:00Z< /t:OriginalStar t>
</t:LastOccurre nce>
<t:MeetingTimeZ one TimeZoneName= "Mountain Standard Time">
<t:BaseOffset >PT420M< /t:BaseOffset>
<t:Standard TimeZoneName= "Mountain Standard Time">
<t: Offset> PT0M</t: Offset>
<t: RelativeYearlyR ecurrence>
< t:DaysOfWeek> Sunday< /t:DaysOfWeek>
< t:DayOfWeekInde x>First< /t:DayOfWeekInd ex>
< t:Month> November< /t:Month>
</t: RelativeYearlyR ecurrence>
<t: Time>02: 00:00</ t:Time>
</t:Standard>
<t:Daylight TimeZoneName= "Mountain Daylight Time">
<t: Offset> -PT60M< /t:Offset>
<t: RelativeYearlyR ecurrence>
< t:DaysOfWeek> Sunday< /t:DaysOfWeek>
< t:DayOfWeekInde x>Second< /t:DayOfWeekInd ex>
< t:Month> March</ t:Month>
</t: RelativeYearlyR ecurrence>
<t: Time>02: 00:00</ t:Time>
</t:Daylight>
</t:MeetingTime Zone>
</ t:CalendarItem>
------- ---cut- ------- ------- ----
b87cc5ce- 0929-406c- b77d-dccccff344 04/HP: getItemReply
readDismissSnoo zeState: nextRem.icalString = 20100903T054500Z zeState: no previous occurrence found (means nextOCC === null) zeState: nextRem.icalString = 20101001T134500Z zeState: nextRem.icalString = 20100817T151500Z
readDismissSnoo
readDismissSnoo
readDismissSnoo