[horde] Creating Exception to Event over AS resets device state - unknown property AttendeeType

Michael J Rubinsky mrubinsk at horde.org
Thu Jan 16 15:15:29 UTC 2014


Quoting Simon Wilson <simon at simonandkate.net>:

> ----- Message from Simon Wilson <simon at simonandkate.net> ---------
>     Date: Thu, 16 Jan 2014 20:38:50 +1000
>     From: Simon Wilson <simon at simonandkate.net>
> Reply-To: simon at simonandkate.net
>  Subject: [horde] Creating Exception to Event over AS resets device  
> state - unknown property AttendeeType
>       To: horde at lists.horde.org
>
>
>> In digging for my Calendar / AS / exception issues I have come  
>> across something that seems strange.
>>
>> On an iPad I create a single exception to a weekly event.
>>
>> This syncs to the server, causes an error, and resets the device's  
>> AS state - log attached.
>>
>> Meanwhile the exception goes through OK, the ICS is this:
>>
>> --Apple-Mail-1C5457EB-F50E-4BA4-8F04-7AA6FE9F7E7D
>> Content-Type: text/calendar;
>> 	charset=utf-8;
>> 	name=meeting.ics;
>> 	method=REQUEST
>> Content-Transfer-Encoding: quoted-printable
>>
>> BEGIN:VCALENDAR=0D=0ACALSCALE:GREGORIAN=0D=0AMETHOD:REQUEST=0D=0APRODID:-//A=
>> pple=20Inc.//iPhone=203.0//EN=0D=0AVERSION:2.0=0D=0ABEGIN:VTIMEZONE=0D=0ATZI=
>> D:GMT+1000=0D=0ABEGIN:STANDARD=0D=0ADTSTART:20010101T000000=0D=0ATZNAME:GMT+=
>> 10=0D=0ATZOFFSETFROM:+1000=0D=0ATZOFFSETTO:+1000=0D=0AEND:STANDARD=0D=0AEND:=
>> VTIMEZONE=0D=0ABEGIN:VEVENT=0D=0AATTENDEE;CN=3D"simon at simonandkate.net";CUTY=
>> PE=3DINDIVIDUAL;PARTSTAT=3DNEEDS-AC=0D=0A=20TION;ROLE=3DOPT-PARTICIPANT;RSVP=
>> =3DTRUE:mailto:simon at simonandkate.net=0D=0ACREATED:20140116T102633Z=0D=0ADTE=
>> ND;TZID=3DGMT+1000:20140228T221500=0D=0ADTSTAMP:20140116T102633Z=0D=0ADTSTAR=
>> T;TZID=3DGMT+1000:20140228T220000=0D=0ALAST-MODIFIED:20140116T102633Z=0D=0AO=
>> RGANIZER;CN=3D"Katie=20Wilson";EMAIL=3D"katie at simonandkate.net":mailto:katie=
>> @=0D=0A=20simonandkate.net=0D=0ARECURRENCE-ID;TZID=3DGMT+1000:20140228T22000=
>> 0=0D=0ASEQUENCE:0=0D=0ASUMMARY:Second=20weekly=20recurrent=20event=0D=0ATRAN=
>> SP:OPAQUE=0D=0AUID:32303134303131363139343833362E4C4770674D627243675F554A335=
>> 255505F7237=0D=0A=204D584135406D61696C2E73696D6F6E616E646B6174652E6E6574=0D=0A=
>> X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY=0D=0ABEGIN:VALARM=0D=0AACTION:DISPLAY=0D=
>> =0ADESCRIPTION:Reminder=0D=0ATRIGGER:-PT15M=0D=0AUID:6B145A7D-3410-46B5-B491=
>> -E4ACD6A02C72=0D=0AX-WR-ALARMUID:6B145A7D-3410-46B5-B491-E4ACD6A02C72=0D=0AE=
>> ND:VALARM=0D=0AEND:VEVENT=0D=0AEND:VCALENDAR=0D=0A=
>>
>> --Apple-Mail-1C5457EB-F50E-4BA4-8F04-7AA6FE9F7E7D--
>>
>>
>>
>> It trips up here:
>>
>> 2014-01-16T20:26:33+10:00 DEBUG: [6214] I          <POOMCAL:Attendees>
>> 2014-01-16T20:26:33+10:00 DEBUG: [6214] I           <POOMCAL:Attendee>
>> 2014-01-16T20:26:33+10:00 DEBUG: [6214] I            <POOMCAL:Name>
>> 2014-01-16T20:26:33+10:00 DEBUG: [6214] I               
>> simon at simonandkate.net
>> 2014-01-16T20:26:33+10:00 DEBUG: [6214] I            </POOMCAL:Name>
>> 2014-01-16T20:26:33+10:00 DEBUG: [6214] I            <POOMCAL:Email>
>> 2014-01-16T20:26:33+10:00 DEBUG: [6214] I               
>> simon at simonandkate.net
>> 2014-01-16T20:26:33+10:00 DEBUG: [6214] I            </POOMCAL:Email>
>> 2014-01-16T20:26:33+10:00 DEBUG: [6214] I            <POOMCAL:AttendeeType>
>> 2014-01-16T20:26:33+10:00 DEBUG: [6214] I              2
>> 2014-01-16T20:26:33+10:00 DEBUG: [6214] I            </POOMCAL:AttendeeType>
>> 2014-01-16T20:26:33+10:00 DEBUG: [6214] I           </POOMCAL:Attendee>
>> 2014-01-16T20:26:33+10:00 ERR: Unknown property: attendees
>> 2014-01-16T20:26:33+10:00 ERR: Horde_ActiveSync_Message_Exception  
>> Unknown property: attendees
>>
>> Yet that property is read fine on new appointments that have it.
>>
>> The only difference appears to be that the exception has  
>> AttendeeType. Here is the original meeting request:
>>
>> 2014-01-16T19:48:35+10:00 DEBUG: [6016] I        <POOMCAL:Attendees>
>> 2014-01-16T19:48:35+10:00 DEBUG: [6016] I         <POOMCAL:Attendee>
>> 2014-01-16T19:48:35+10:00 DEBUG: [6016] I          <POOMCAL:Name>
>> 2014-01-16T19:48:35+10:00 DEBUG: [6016] I            Wilson Simon
>> 2014-01-16T19:48:35+10:00 DEBUG: [6016] I          </POOMCAL:Name>
>> 2014-01-16T19:48:35+10:00 DEBUG: [6016] I          <POOMCAL:Email>
>> 2014-01-16T19:48:35+10:00 DEBUG: [6016] I            simon at simonandkate.net
>> 2014-01-16T19:48:35+10:00 DEBUG: [6016] I          </POOMCAL:Email>
>> 2014-01-16T19:48:35+10:00 DEBUG: [6016] I         </POOMCAL:Attendee>
>> 2014-01-16T19:48:35+10:00 DEBUG: [6016] I        </POOMCAL:Attendees>
>>
>> The AttendeeType 2 indicates that I am an OPT-PARTICIPANT, and  
>> seems to be default.
>>
>> The Calendar collection is state reset, and the device re-downloads  
>> all of the calendar data.
>>
>>
>> Cheers
>> Simon.
>>
>> --
>
>
> Definitely something kooky going on.
>
> BTW the error noted above generated this in Horde log:
>
> 2014-01-16T20:05:43+10:00 EMERG: HORDE [horde]  
> Horde_ActiveSync_Message_Exception Unknown property: attendees [pid  
> 13675 on line 186 of  
> "/usr/share/pear/Horde/ActiveSync/Message/Base.php"]
>
> The events were a set of test events from another user to me - a  
> single weekly infinite recurrent event. I generated TWO exceptions,  
> one on the 31st Jan, one on 28th Feb.
>
> BUT. When I accepted one of the exceptions in Imp, errors were generated:
>
> There was an error importing the event: no iCalendar data was found
> This action is not supported
> Reply Sent
>
> And ALL the events for this recurrent series except one other that  
> had been changed as an disappeared from my calendar completely.
>
> Logs:
>
> [Thu Jan 16 20:42:37 2014] [error] [client 192.168.1.155] PHP Fatal  
> error:  Call to a member function addException() on a non-object in  
> /var/www/horde/kronolith/lib/Event.php on line 1388, referer:  
> https://mail.simonandkate.net/imp/dynamic.php?page=mailbox
>
> I'll regenerate all of the events and see if I can recreate the sequence.



No need. I know the cause of the unknown property error. I'll fix when  
I'm back in my office later tonight or tomorrow.

-- 
mike

The Horde Project (www.horde.org)
mrubinsk at horde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5849 bytes
Desc: S/MIME Signature
URL: <http://lists.horde.org/archives/horde/attachments/20140116/d9fededc/attachment-0001.bin>


More information about the horde mailing list