[GroupDAV] Trying groupdav with Nokia 6230 and OpenGroupware
Mathew McBride
groupdav@opengroupware.org
Fri, 04 Aug 2006 07:42:55 +1000
Yes, CHARSET is one of the vcal1 properties which is filtered out due to
missing/incompatibility with ical. I'll release an updated connector to
fix some more of these issues soon.
For some reason the connector already thinks the item in question is
already on the server, and now treats the item as one which needs to be
updated on the server. Shouldn't be happening, but you'll have to delete
the connector database for that device, and possibly purge the
previously synced items on the server or on the device.
Ole Dalgaard wrote:
> Hi again
>
> I have made a small patch for the CHARSET problem, don't know if it is
> an appropriate solution, but it did bring me a little further.
>
> *** GroupDAVConnector.java.ORG 2006-08-03 08:09:26.783694000 +0200
> --- GroupDAVConnector.java 2006-08-03 07:50:59.174472750 +0200
> *************** public class GroupDAVConnector
> *** 507,513 ****
> * that stuff */
> if (line.contains("PRODID") || line.contains("TZ")
> || line.contains("DAYLIGHT") ||
> line.contains("ATTENDEE;")
> ! || line.contains("DCREATED")) {
> contribute = false;
> }
> if (contribute)
> --- 507,513 ----
> * that stuff */
> if (line.contains("PRODID") || line.contains("TZ")
> || line.contains("DAYLIGHT") ||
> line.contains("ATTENDEE;")
> ! || line.contains("DCREATED") ||
> line.contains("CHARSET")) {
> contribute = false;
> }
> if (contribute)
>
>
> Now I get this exception:
>
> INFO: GroupDAV Exception:itemOnServer=null
> Aug 3, 2006 8:05:08 AM net.bionicmessage.funambol.GroupDAVConnector
> handleException
> FINEST: GroupDAV Exception
> trace:com.funambol.framework.engine.source.SyncSourceException:
> itemOnServer=null
> at
> net.bionicmessage.funambol.GroupDAVConnector.mergeSyncItems(GroupDAVConnector.java:603)
>
> at
> net.bionicmessage.funambol.GroupDAVConnector.addSyncItem(GroupDAVConnector.java:463)
>
> at
> com.funambol.server.engine.Sync4jStrategy.execNewOperation(Sync4jStrategy.java:2372)
>
> at
> com.funambol.server.engine.Sync4jStrategy.execSyncOperation(Sync4jStrategy.java:1154)
>
> at
> com.funambol.server.engine.Sync4jStrategy.sync(Sync4jStrategy.java:710)
> at
> com.funambol.server.engine.Sync4jEngine.sync(Sync4jEngine.java:548)
> at
> com.funambol.server.session.SyncSessionHandler.processModifications(SyncSessionHandler.java:1593)
>
> at
> com.funambol.server.session.SyncSessionHandler.processSyncMessage(SyncSessionHandler.java:1429)
>
> at
> com.funambol.server.session.SyncSessionHandler.processInitSyncMapMessage(SyncSessionHandler.java:870)
>
> at
> com.funambol.server.session.SyncSessionHandler.processMessage(SyncSessionHandler.java:457)
>
> at
> com.funambol.server.engine.SyncAdapter.processInputMessage(SyncAdapter.java:457)
>
> at
> com.funambol.server.engine.SyncAdapter.processWBXMLMessage(SyncAdapter.java:306)
>
> at
> com.funambol.transport.http.server.LocalSyncHolder.processWBXMLMessage(LocalSyncHolder.java:103)
>
> at
> com.funambol.transport.http.server.Sync4jServlet.doPost(Sync4jServlet.java:276)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
>
> it seems that the calendar item is not on the server, but why does
> that give an exception? Please help!
>
> BR
> Ole Dalgaard
>
> Ole Dalgaard wrote:
>> Hi
>>
>> I have been trying the groupdav connector in between my Nokia 6230
>> phone and an opengroupware server. I just got it try syncing. On the
>> way to get there I found these issues:
>> - the mysql init_schema.sql is bad - it is a copy of the dummy
>> module. I have attached a working schema for mysql (the postgres
>> schema has the same problem)
>> - It seems that jdk 1.5 is required, please state it on the website
>> or/and in the documentation.
>>
>>
>> Below is a snip from catalina.out from the failing sync
>>
>> BR
>> Ole Dalgaard
>>
>