| Summary | SyncML Nokia taskInCalendar case sensitive |
| Queue | Horde Framework Packages |
| Queue Version | FRAMEWORK_3 |
| Type | Bug |
| State | Resolved |
| Priority | 1. Low |
| Owners | jan (at) horde (dot) org |
| Requester | c.denis (at) mrduck (dot) fr |
| Created | 08/19/2009 (5943 days ago) |
| Due | |
| Updated | 09/16/2009 (5915 days ago) |
| Assigned | 08/20/2009 (5942 days ago) |
| Resolved | 09/16/2009 (5915 days ago) |
| Github Issue Link | |
| Github Pull Request | |
| Milestone | |
| Patch | No |
State ⇒ Resolved
State ⇒ Feedback
http://cvs.horde.org/diff.php/framework/SyncML/SyncML/Sync.php?rt=horde&r1=1.59&r2=1.60&ty=u
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ SyncML Nokia taskInCalendar case sensitive
Queue ⇒ Horde Framework Packages
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
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.