[horde] Active Sync - new calnedar entry

Simon Wilson simon at simonandkate.net
Thu Jul 28 22:50:27 UTC 2011


----- Message from Michael J Rubinsky <mrubinsk at horde.org> ---------
    Date: Thu, 28 Jul 2011 18:40:30 -0400
    From: Michael J Rubinsky <mrubinsk at horde.org>
Subject: Re: [horde] Active Sync - new calnedar entry
      To: horde at lists.horde.org


> Quoting Simon Wilson <simon at simonandkate.net>:
>
>> ----- Message from Michael J Rubinsky <mrubinsk at horde.org> ---------
>>   Date: Thu, 28 Jul 2011 18:23:45 -0400
>>   From: Michael J Rubinsky <mrubinsk at horde.org>
>> Subject: Re: [horde] Active Sync - new calnedar entry
>>     To: horde at lists.horde.org
>>
>>
>>> Quoting Simon Wilson <simon at simonandkate.net>:
>>>
>>>> ----- Message from Michael J Rubinsky <mrubinsk at horde.org> ---------
>>>> Date: Thu, 28 Jul 2011 16:02:12 -0400
>>>> From: Michael J Rubinsky <mrubinsk at horde.org>
>>>> Subject: Re: [horde] Active Sync - new calnedar entry
>>>>   To: horde at lists.horde.org
>>>>
>>>>
>>>>> Quoting Martin Hochreiter <linuxbox at wavenet.at>:
>>>>>
>>>>>> Hi!
>>>>>>
>>>>>> The "problem" still remains with 1.1.1  - no new calendar entry  
>>>>>> in kronolith is synced to the active sync device.
>>>>>> I have to kill the trusteeship and reestablish active sync to  
>>>>>> get all the calendar entries...
>>>>>>
>>>>>> Mike, didn't you told me about patches addressing that problem  
>>>>>> last time - didn't they made it to 1.1.1?
>>>>>
>>>>> There was a problem that caused only a single collection to be  
>>>>> PINGed for changes. In most cases this was the calendar  
>>>>> collection. That was indeed fixed in 1.1.0 by commit  
>>>>> b319145de746e9abaa3fbac9fc563e4256029aba.  The only change that  
>>>>> 1.1.1 included was a missing database migration entry in the  
>>>>> package.xml file.  I've just tested all functionality locally  
>>>>> with both an existing and fresh partnership. Events are synced  
>>>>> properly both server->client and client->server.  You could be  
>>>>> running up against the PHP bug described in  
>>>>> http://bugs.horde.org/ticket/10194. Provide a sync log that  
>>>>> includes only the calendar sync and I can take a look.
>>>>>
>>>>>
>>>>> -- 
>>>>> mike
>>>>>
>>>>
>>>> I'm having what I suspect is the same issue. Calendar syncing  
>>>> just doesn't work (iOS)... Doesn't do an initial full sync and  
>>>> doesn't correctly sync additions. Contacts are fine.
>>>>
>>>> I'll reset the AS log and see what's in there.
>>>
>>> If you are not getting even an initial sync, it is almost  
>>> certainly http://bugs.horde.org/ticket/10194
>>>
>>> -- 
>>> mike
>>>
>>
>> OK... thanks Mike. Will run the sync log and confirm.
>
> You will see something like this.
>
> First an incoming <Synchronize> request...then
>
> 2011-06-21T09:52:50+02:00 DEBUG: Horde::getMessage(Calendar,  
> 20110621094852.2GYZZjMRB6ROAEzkwkC35FA at example.com)
> 2011-06-21T09:52:51+02:00 INFO: Horde_ActiveSync_Driver_Horde::logon  
> attempt for: user at example.com
>
> The thing to look for is the logon attempt immediately after the  
> getMessage request. This indicates that PHP crashed while polling  
> for the calendar entry.
>
>
>> Is this restricted to any particular version of PHP? My CentOS 5.6  
>> x64 server is running PHP 5.2.10.
>
> Not sure which version specifically. The original poster for that  
> bug had stated it was the php5 package from Debian - don't remember  
> which Debian version though.
>
> -- 
> mike
>

OK, will look for those. Interestingly (or possibly completely  
irrelevantly?) running the following little php code from bug 10194:

$d = new Horde_Date('2011-07-29 08:43:00', 'Australia/Brisbane');
$tz = $d->toDateTime()->getTimezone();
var_dump($tz);
var_dump($tz->getName());
var_dump($tz->getTransitions());
echo 'foobar';

Seems to work fine:

object(DateTimeZone)#272 (0) {
}
string(18) "Australia/Brisbane"
array(16) {
   [0]=>
   array(5) {
     ["ts"]=>
     int(-1672567140)
     ["time"]=>
     string(24) "1916-12-31T14:01:00+0000"
     ["offset"]=>
     int(39600)
     ["isdst"]=>
     bool(true)
     ["abbr"]=>
     string(3) "EST"
   }
   [1]=>
   array(5) {
     ["ts"]=>
     int(-1665392400)
     ["time"]=>
     string(24) "1917-03-24T15:00:00+0000"
     ["offset"]=>
     int(36000)
     ["isdst"]=>
     bool(false)
     ["abbr"]=>
     string(3) "EST"
   }
   [2]=>
   array(5) {
     ["ts"]=>
     int(-883641600)
     ["time"]=>
     string(24) "1941-12-31T16:00:00+0000"
     ["offset"]=>
     int(39600)
     ["isdst"]=>
     bool(true)
     ["abbr"]=>
     string(3) "EST"
   }
   [3]=>
   array(5) {
     ["ts"]=>
     int(-876128400)
     ["time"]=>
     string(24) "1942-03-28T15:00:00+0000"
     ["offset"]=>
     int(36000)
     ["isdst"]=>
     bool(false)
     ["abbr"]=>
     string(3) "EST"
   }
   [4]=>
   array(5) {
     ["ts"]=>
     int(-860400000)
     ["time"]=>
     string(24) "1942-09-26T16:00:00+0000"
     ["offset"]=>
     int(39600)
     ["isdst"]=>
     bool(true)
     ["abbr"]=>
     string(3) "EST"
   }
   [5]=>
   array(5) {
     ["ts"]=>
     int(-844678800)
     ["time"]=>
     string(24) "1943-03-27T15:00:00+0000"
     ["offset"]=>
     int(36000)
     ["isdst"]=>
     bool(false)
     ["abbr"]=>
     string(3) "EST"
   }
   [6]=>
   array(5) {
     ["ts"]=>
     int(-828345600)
     ["time"]=>
     string(24) "1943-10-02T16:00:00+0000"
     ["offset"]=>
     int(39600)
     ["isdst"]=>
     bool(true)
     ["abbr"]=>
     string(3) "EST"
   }
   [7]=>
   array(5) {
     ["ts"]=>
     int(-813229200)
     ["time"]=>
     string(24) "1944-03-25T15:00:00+0000"
     ["offset"]=>
     int(36000)
     ["isdst"]=>
     bool(false)
     ["abbr"]=>
     string(3) "EST"
   }
   [8]=>
   array(5) {
     ["ts"]=>
     int(57686400)
     ["time"]=>
     string(24) "1971-10-30T16:00:00+0000"
     ["offset"]=>
     int(39600)
     ["isdst"]=>
     bool(true)
     ["abbr"]=>
     string(3) "EST"
   }
   [9]=>
   array(5) {
     ["ts"]=>
     int(67968000)
     ["time"]=>
     string(24) "1972-02-26T16:00:00+0000"
     ["offset"]=>
     int(36000)
     ["isdst"]=>
     bool(false)
     ["abbr"]=>
     string(3) "EST"
   }
   [10]=>
   array(5) {
     ["ts"]=>
     int(625593600)
     ["time"]=>
     string(24) "1989-10-28T16:00:00+0000"
     ["offset"]=>
     int(39600)
     ["isdst"]=>
     bool(true)
     ["abbr"]=>
     string(3) "EST"
   }
   [11]=>
   array(5) {
     ["ts"]=>
     int(636480000)
     ["time"]=>
     string(24) "1990-03-03T16:00:00+0000"
     ["offset"]=>
     int(36000)
     ["isdst"]=>
     bool(false)
     ["abbr"]=>
     string(3) "EST"
   }
   [12]=>
   array(5) {
     ["ts"]=>
     int(657043200)
     ["time"]=>
     string(24) "1990-10-27T16:00:00+0000"
     ["offset"]=>
     int(39600)
     ["isdst"]=>
     bool(true)
     ["abbr"]=>
     string(3) "EST"
   }
   [13]=>
   array(5) {
     ["ts"]=>
     int(667929600)
     ["time"]=>
     string(24) "1991-03-02T16:00:00+0000"
     ["offset"]=>
     int(36000)
     ["isdst"]=>
     bool(false)
     ["abbr"]=>
     string(3) "EST"
   }
   [14]=>
   array(5) {
     ["ts"]=>
     int(688492800)
     ["time"]=>
     string(24) "1991-10-26T16:00:00+0000"
     ["offset"]=>
     int(39600)
     ["isdst"]=>
     bool(true)
     ["abbr"]=>
     string(3) "EST"
   }
   [15]=>
   array(5) {
     ["ts"]=>
     int(699379200)
     ["time"]=>
     string(24) "1992-02-29T16:00:00+0000"
     ["offset"]=>
     int(36000)
     ["isdst"]=>
     bool(false)
     ["abbr"]=>
     string(3) "EST"
   }
}
foobar



More information about the horde mailing list