[horde] [ActiveSync][Kronolith][CentOS 7] wrong event start and end [SOLVED]
Michael J Rubinsky
mrubinsk at horde.org
Tue Mar 22 02:05:35 UTC 2016
Quoting 0x90 <0x90 at wmailer.net>:
> Zitat von 0x90 <0x90 at wmailer.net>:
>
>> Zitat von Michael J Rubinsky <mrubinsk at horde.org>:
>>
>>> Quoting 0x90 <0x90 at wmailer.net>:
>>>
>>>> Zitat von Michael J Rubinsky <mrubinsk at horde.org>:
>>>>
>>>>> Quoting 0x90 <0x90 at wmailer.net>:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I did set up a new installation of Horde on CentOS 7.2 and have
>>>>>> troubles with activesync/calendar.
>>>>>> Using Outlook 2013 as a activesync client causes wrong entries
>>>>>> in kronolith_events (event_start and event_end) when adding a
>>>>>> new all day event.
>>>>>> This is problematic, because outlook clients will crash if they
>>>>>> see an event that they did not create (e.g. shared calendar or
>>>>>> new instance of activesync client).
>>>>>> I have a installation with pretty much same configuration on a
>>>>>> CentOS 6.7, which is working correct.
>>>>>>
>>>>>> Here some infos:
>>>>>>
>>>>>> # versions:
>>>>>> horde 5.2.9
>>>>>> kronolith 4.2.15
>>>>>> activesync 2.31.6
>>>>>>
>>>>>>
>>>>>> # config/prefs.d/10-myprefs.php
>>>>>>
>>>>>> $_prefs['timezone'] = array(
>>>>>> 'value' => 'Europe/Berlin'
>>>>>> [...]
>>>>>>
>>>>>>
>>>>>> # kronolith/config/conf.php
>>>>>>
>>>>>> $conf['calendar']['params']['utc'] = true;
>>>>>> $conf['resource']['params']['utc'] = true;
>>>>>>
>>>>>>
>>>>>> # /etc/php.ini
>>>>>>
>>>>>> date.timezone = Europe/Berlin
>>>>>>
>>>>>>
>>>>>> # output from horde php shell
>>>>>>
>>>>>> every context gives correct time and timezone when executing
>>>>>> "echo date("H:i:s").date_default_timezone_get();"
>>>>>>
>>>>>>
>>>>>> # activesync log (adding a new event in Outlook 2013 for
>>>>>> 2016-03-14, whole day)
>>>>>> [...]
>>>>>> DEBUG: [1872] I <POOMCAL:StartTime>
>>>>>> DEBUG: [1872] I 20160313T230000Z
>>>>>> DEBUG: [1872] I </POOMCAL:StartTime>
>>>>>> [...]
>>>>>> DEBUG: [1872] I <POOMCAL:EndTime>
>>>>>> DEBUG: [1872] I 20160314T230000Z
>>>>>> DEBUG: [1872] I </POOMCAL:EndTime>
>>>>>> [...]
>>>
>>> Can you provide the Timezone data that activesync is sending? You
>>> might need to change the logging to Detailed instead of Protocol
>>> in the ActiveSync config tab.
>>>
>>
>> Yes, of course. It is already logged.
>>
>> <POOMCAL:Timezone>
>> xP///00AaQB0AHQAZQBsAGUAdQByAG8AcADkAGkAcwBjAGgAZQAgAFoAZQBpAHQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAoAAAAFAAMAAAAAAAAAAAAAAE0AaQB0AHQAZQBsAGUAdQByAG8AcADkAGkAcwBjAGgAZQAgAFMAbwBtA
>> G0AZQByAHoAZQBpAHQAAAAAAAAAAAAAAAMAAAAFAAIAAAAAAAAAxP///w==
>> </POOMCAL:Timezone>
>>
>> Which says something like "Mitteleuropäische Zeit" (MEZ or CET).
>>
>> If I enter the following code in horde php shell I get "CET" as an
>> answer, which should be correct:
>>
>> $obj = new Horde_Mapi_Timezone();
>> echo
>> $obj->getTimezone($obj->getOffsetsFromSyncTZ("xP///00AaQB0AHQAZQBsAGUAdQByAG8AcADkAGkAcwBjAGgAZQAgAFoAZQBpAHQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAoAAAAFAAMAAAAAAAAAAAAAAE0AaQB0AHQAZQBsAGUAdQByAG8AcADkAGkAcwBjAGgAZQAgAFMAbwBtAG0AZQByAHoAZQBpAHQAAAAAAAAAAAAAAAMAAAAFAAIAAAAAAAAAxP///w=="));
>>
>> Sorry for the delay, I was on working trip.
>
>
> I did an update to Horde_Date 2.3.0. Now I get "Europe/Berlin"
> instead of "CET". I don't know if this is correct, but it totally
> works for me on the first view.
Yup, I was just about to let you know that these updates will probably
fix your issue :)
> Thank you guys for the great horde project :-)
>
>>
>>>
>>> --
>>> mike
>>> The Horde Project
>>> http://www.horde.org
>>> https://www.facebook.com/hordeproject
>>> https://www.twitter.com/hordeproject
>>
>>
>> --
>> Horde mailing list
>> Frequently Asked Questions: http://horde.org/faq/
>> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>
>
> --
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
--
mike
The Horde Project
http://www.horde.org
https://www.facebook.com/hordeproject
https://www.twitter.com/hordeproject
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5751 bytes
Desc: S/MIME Signature
URL: <http://lists.horde.org/archives/horde/attachments/20160321/2ca58798/attachment.bin>
More information about the horde
mailing list