Re: Nokia C7-00 or symbian^3
Jan Schneider <[email protected]>
| Newsgroups | gmane.comp.horde.sync |
|---|---|
| Message-ID | <[email protected]> |
Zitat von Thomas Trethan <[email protected]>: >> i have installed Horde Groupware Webmail Edition 1.29 and i have been >> doing any test with Nokia E71, E72, E5, all the test were very well. I >> could sync with SyncML the calendar, notes and guide. After this, i >> tried sync with a Nokia C7-00 and i could sync notes and guide, but >> the calendar do not sync, all the entries on the server are discarted >> by the telephone. > > After doing some research I found the reason: > > in lib/SyncML/Sync.php in the constructor the parameter $clientURI > is "./c:calendar1"; in the devinf the device states "./c:calendar". > When Sync.php wants to get the contentType via > $device->getPreferredContentTypeClient() those two values don't > match and the Type is set defaulty to "text/calendar". According to > devinf the mobile phone wants "text/x-vcalendar" which doesn't > match. Therefore all received entries are ignored. Furthermore I > found out, that the device really seems to send "./c:calendar1" (see > debugging wbxml logs), but don't know why... Which logs? > However, here's a quick hack to solve the problem in > lib/SyncML/Device/Nokia.php: in the function convertServer2Client() > add the following code before writing to the log file: > > $di = $_SESSION['SyncML.state']->deviceInfo; > if (stristr($di->Mod, 'C7-00') === false) { > $contentType = 'text/x-vcalendar'; > } > > Regards, Tom > -- > sync mailing list - Join the hunt: http://horde.org/bounties/#sync > Frequently Asked Questions: http://horde.org/faq/ > To unsubscribe, mail: [email protected] Jan. -- Do you need professional PHP or Horde consulting? http://horde.org/consulting/ -- sync mailing list - Join the hunt: http://horde.org/bounties/#sync Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail: [email protected]