[Tickets #9646] Re: SyncML failure with Nokia N8
bugs at horde.org
bugs at horde.org
Wed Mar 16 21:58:02 UTC 2011
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/9646
------------------------------------------------------------------------------
Ticket | 9646
Updated By | hordetest at trash-mail.com
Summary | SyncML failure with Nokia N8
Queue | Synchronization
Version | Git master
Type | Bug
State | Feedback
Priority | 1. Low
Milestone |
Patch |
Owners | Jan Schneider
------------------------------------------------------------------------------
hordetest at trash-mail.com (2011-03-16 21:58) wrote:
>>>>> Wild guessing doesn't get us anywhere. What *is* the content of $date
>>>>> in _initializeFromArgs()?
>>>> $date in _initializeFromArrays() is empty
>>> No sorry. It is $date = array (0 -> '20110316T212826Z'). I assume
>>> this is not compatible to initializeFromArrays?
>> I found the issue. Syncml_Device is passing an array, but a datetime
>> string is expected.
>>
>> This is working for me: Device.php Line 208:
>> array($this, 'convertUTC2LocalTime'),$content[0]);
>>
>>
> Ok, it's not yet the solution :) My Nokia is syncing now at least
> with no error, but entries are not on the phone.
Now I got it. I removed the sync history and only changed:
Device.php Line 276
public function convertUTC2LocalTime($utc)
{
$date = new Horde_Date($utc[0]);
Probably there's a better solution, but at least it is working :)
More information about the bugs
mailing list