6.0.0-RC7
6/30/26

[#8506] SyncML Nokia taskInCalendar case sensitive
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 8/19/09 (6159 days ago)
Due
Updated 9/16/09 (6131 days ago)
Assigned 8/20/09 (6158 days ago)
Resolved 9/16/09 (6131 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
39 Jan Schneider Assigned to Jan Schneider
State ⇒ Resolved
 
2011 Jan Schneider Comment #4 Reply to this comment
Ping?
44 Jan Schneider Comment #3
State ⇒ Feedback
Reply to this comment
Try that patch?
166 c (dot) denis (at) mrduck (dot) fr Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ SyncML Nokia taskInCalendar case sensitive
Queue ⇒ Horde Framework Packages
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
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.

Saved Queries