[Tickets #8506] Re: SyncML Nokia taskInCalendar case sensitive
bugs at horde.org
bugs at horde.org
Wed Aug 19 18:47:50 UTC 2009
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/8506
------------------------------------------------------------------------------
Ticket | 8506
Updated By | c.denis at mrduck.fr
Summary | SyncML Nokia taskInCalendar case sensitive
Queue | Horde Framework Packages
Version | FRAMEWORK_3
Type | Bug
State | Unconfirmed
Priority | 1. Low
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
c.denis at mrduck.fr (2009-08-19 14:47) wrote:
Hello,
i have noticed while trying to sync my E71 with horde via SyncML, that
tasks created on the phone would not sync to horde. Everything else
worked!!!
After some debugging i think i have tracked down the problem. in
framework/lib/SyncML/Sync.php
My phone is recognized correctly as Nokia and handleTasksInCalendar()
returns the correct value 'true' and thereby calls for the database
location:
$hordedatabase = $this->_taskdDbUriForCalendarDbUri($database);
function _taskdDbUriForCalendarDbUri($databaseURI)
{
return str_replace('calendar', 'tasks', $databaseURI);
}
but './Calendar' would fail to be replaced.
My new tasks got passed to kronolith instead of nag and would end with
the following error:
ERR: Error in adding client entry: No iCalendar data was found.
As it seems that everywhere else the name of the database is case
insensitive i consider this a bug.
though it appears sufficient to use str_ireplace instead of str_replace.
hope this can spare someone else's time.
More information about the bugs
mailing list