From jan at horde.org Tue Sep 15 13:42:16 2009
From: jan at horde.org (Jan Schneider)
Date: Tue, 15 Sep 2009 15:42:16 +0200
Subject: [sync] SyncML related problems
In-Reply-To: <20090909170855.182252t4kybbbr40@webmail.kwsoft.de>
References: <20090909170855.182252t4kybbbr40@webmail.kwsoft.de>
Message-ID: <20090915154216.120121ifq0tmmdvo@neo.wg.de>
Zitat von lst_hoe02 at kwsoft.de:
> Hello
>
> Some oddities/bugs related to SyncML to discuss :
>
> 1.) When choose options -> global options -> syncml there is always
> a first white line at top of page with "int(7) int(7)" at the begin.
> This is also in the page source like this :
>
> int(7)
> int(7)
> "DTD/xhtml1-transitional.dtd">
>
>
>
>
This was an overseen debug output.
> 2.) When we choose to delete syncML anchors only the anchor is
> deleted, but not the data in syncml_map. This is only done if a
> client-id reconnect after deleting the anchor. I suggest this is a
> bug but maybe i have missed something.
No, this is intended. The idea is to avoid duplicates if re-starting
synchronization. Whether this is useful or not has been debated in the
past.
> 3.) Sometimes *all* client anchors get deleted if one choose to
> delete a specific anchor. Unfortunately i have not yet found out how
> to trigger.
Jan.
--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/
From dom.lalot at gmail.com Tue Sep 15 15:36:01 2009
From: dom.lalot at gmail.com (LALOT Dominique)
Date: Tue, 15 Sep 2009 17:36:01 +0200
Subject: [sync] syncml and shared agendas. synced only owner created events
Message-ID: <1617f8010909150836t3cd7e2dfye6b139c1c283177b@mail.gmail.com>
Hello,
Some people wants to work like this:
a secretary is modifying some other people agendas.
If the agenda's owner is trying to sync, he only gets his own events. The
others which have been created by people having write access are not synced.
If I remember some other problem I got a few months ago, that's may be
related to the history table.
Is there a possibility to get this working?
Thks
Dom
--
Dominique LALOT
Ing?nieur Syst?mes et R?seaux
http://annuaire.univmed.fr/showuser.php?uid=lalot
From jan at horde.org Wed Sep 16 07:59:26 2009
From: jan at horde.org (Jan Schneider)
Date: Wed, 16 Sep 2009 09:59:26 +0200
Subject: [sync] syncml and shared agendas. synced only owner created
events
In-Reply-To: <1617f8010909150836t3cd7e2dfye6b139c1c283177b@mail.gmail.com>
References: <1617f8010909150836t3cd7e2dfye6b139c1c283177b@mail.gmail.com>
Message-ID: <20090916095926.118121tx19ttfldw@neo.wg.de>
Zitat von LALOT Dominique :
> Hello,
>
> Some people wants to work like this:
> a secretary is modifying some other people agendas.
>
> If the agenda's owner is trying to sync, he only gets his own events. The
> others which have been created by people having write access are not synced.
> If I remember some other problem I got a few months ago, that's may be
> related to the history table.
>
> Is there a possibility to get this working?
Can you specify what you mean with the relation to the history table?
There is no code in the synchronization process that checks the owner
of an event.
Jan.
--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/
From dom.lalot at gmail.com Wed Sep 16 12:32:10 2009
From: dom.lalot at gmail.com (LALOT Dominique)
Date: Wed, 16 Sep 2009 14:32:10 +0200
Subject: [sync] syncml and shared agendas. synced only owner created
events
In-Reply-To: <20090916095926.118121tx19ttfldw@neo.wg.de>
References: <1617f8010909150836t3cd7e2dfye6b139c1c283177b@mail.gmail.com>
<20090916095926.118121tx19ttfldw@neo.wg.de>
Message-ID: <1617f8010909160532l29268069wa84938aa60170eff@mail.gmail.com>
2009/9/16 Jan Schneider
> Zitat von LALOT Dominique :
>
> Hello,
>>
>> Some people wants to work like this:
>> a secretary is modifying some other people agendas.
>>
>> If the agenda's owner is trying to sync, he only gets his own events. The
>> others which have been created by people having write access are not
>> synced.
>> If I remember some other problem I got a few months ago, that's may be
>> related to the history table.
>>
>> Is there a possibility to get this working?
>>
>
> Can you specify what you mean with the relation to the history table? There
> is no code in the synchronization process that checks the owner of an event.
>
> Jan.
>
Sorry Jan,
It seems that I did a mistake yesterday trying to reproduce a bug. For my
last tests, it's working like a charm!
The user who gets such problem in fact was logging in syncml using an
Uppercase character at the beginning of his loginuid. I presume then, that
the datas are not correct.
Nevertheless, I put a hook to transform the userid a long time ago:
if (!function_exists('_username_hook_frombackend')) {
function _username_hook_frombackend($userID) {
return String::lower($userID);
}
}
It seems that syncml is not using it. Is there some other hook to setup?
Thanks
Dom
>
> --
> 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: sync-unsubscribe at lists.horde.org
>
--
Dominique LALOT
Ing?nieur Syst?mes et R?seaux
http://annuaire.univmed.fr/showuser.php?uid=lalot
From jan at horde.org Wed Sep 16 12:53:53 2009
From: jan at horde.org (Jan Schneider)
Date: Wed, 16 Sep 2009 14:53:53 +0200
Subject: [sync] syncml and shared agendas. synced only owner created
events
In-Reply-To: <1617f8010909160532l29268069wa84938aa60170eff@mail.gmail.com>
References: <1617f8010909150836t3cd7e2dfye6b139c1c283177b@mail.gmail.com>
<20090916095926.118121tx19ttfldw@neo.wg.de>
<1617f8010909160532l29268069wa84938aa60170eff@mail.gmail.com>
Message-ID: <20090916145353.145929hp1jegba4g@neo.wg.de>
Zitat von LALOT Dominique :
> 2009/9/16 Jan Schneider
>
>
> > Zitat von LALOT Dominique :
> >
> > > Hello,
> > >
> > > Some people wants to work like this:
> > > a secretary is modifying some other people agendas.
> > >
> > > If the agenda's owner is trying to sync, he only gets his own events. The
> > > others which have been created by people having write access are not synced.
> > > If I remember some other problem I got a few months ago, that's may be
> > > related to the history table.
> > >
> > > Is there a possibility to get this working?
> >
> > Can you specify what you mean with the relation to the history table? There is no code in the synchronization process that checks the owner of an event.
> >
> > Jan.
>
> Sorry Jan,
>
> It seems that I did a mistake yesterday trying to reproduce a bug. For my last tests, it's working like a charm!
> The user who gets such problem in fact was logging in syncml using an Uppercase character at the beginning of his loginuid. I presume then, that the datas are not correct.
> Nevertheless, I put a hook to transform the userid a long time ago:
> if (!function_exists('_username_hook_frombackend')) {
> function _username_hook_frombackend($userID) {
> return String::lower($userID);
> }
> }
>
> It seems that syncml is not using it. Is there some other hook to setup?
No, but synching should use that hook as well.
Jan.
--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/
From dom.lalot at gmail.com Wed Sep 16 15:56:42 2009
From: dom.lalot at gmail.com (LALOT Dominique)
Date: Wed, 16 Sep 2009 17:56:42 +0200
Subject: [sync] syncml and shared agendas. synced only owner created
events
In-Reply-To: <20090916145353.145929hp1jegba4g@neo.wg.de>
References: <1617f8010909150836t3cd7e2dfye6b139c1c283177b@mail.gmail.com>
<20090916095926.118121tx19ttfldw@neo.wg.de>
<1617f8010909160532l29268069wa84938aa60170eff@mail.gmail.com>
<20090916145353.145929hp1jegba4g@neo.wg.de>
Message-ID: <1617f8010909160856m1708fadel9206f016956b1bb@mail.gmail.com>
2009/9/16 Jan Schneider
>
>
> Zitat von LALOT Dominique :
>
> > 2009/9/16 Jan Schneider
> >
> >
> > > Zitat von LALOT Dominique :
> > >
> > > > Hello,
> > > >
> > > > Some people wants to work like this:
> > > > a secretary is modifying some other people agendas.
> > > >
> > > > If the agenda's owner is trying to sync, he only gets his own events.
> The
> > > > others which have been created by people having write access are not
> synced.
> > > > If I remember some other problem I got a few months ago, that's may
> be
> > > > related to the history table.
> > > >
> > > > Is there a possibility to get this working?
> > >
> > > Can you specify what you mean with the relation to the history table?
> There is no code in the synchronization process that checks the owner of an
> event.
> > >
> > > Jan.
> >
> > Sorry Jan,
> >
> > It seems that I did a mistake yesterday trying to reproduce a bug. For my
> last tests, it's working like a charm!
> > The user who gets such problem in fact was logging in syncml using an
> Uppercase character at the beginning of his loginuid. I presume then, that
> the datas are not correct.
> > Nevertheless, I put a hook to transform the userid a long time ago:
> > if (!function_exists('_username_hook_frombackend')) {
> > function _username_hook_frombackend($userID) {
> > return String::lower($userID);
> > }
> > }
> >
> > It seems that syncml is not using it. Is there some other hook to setup?
>
> No, but synching should use that hook as well.
>
If I change my login and put Lalot, it appears that history_who contains
Lalot instead of lalot. Could this generate a side effect somewhere?
Thanks
Dom
>
> 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: sync-unsubscribe at lists.horde.org
>
--
Dominique LALOT
Ing?nieur Syst?mes et R?seaux
http://annuaire.univmed.fr/showuser.php?uid=lalot
From jan at horde.org Wed Sep 16 16:34:30 2009
From: jan at horde.org (Jan Schneider)
Date: Wed, 16 Sep 2009 18:34:30 +0200
Subject: [sync] syncml and shared agendas. synced only owner created
events
In-Reply-To: <1617f8010909160856m1708fadel9206f016956b1bb@mail.gmail.com>
References: <1617f8010909150836t3cd7e2dfye6b139c1c283177b@mail.gmail.com>
<20090916095926.118121tx19ttfldw@neo.wg.de>
<1617f8010909160532l29268069wa84938aa60170eff@mail.gmail.com>
<20090916145353.145929hp1jegba4g@neo.wg.de>
<1617f8010909160856m1708fadel9206f016956b1bb@mail.gmail.com>
Message-ID: <20090916183430.138064lsxedrz89i@neo.wg.de>
Zitat von LALOT Dominique :
> 2009/9/16 Jan Schneider
>
>
> > Zitat von LALOT Dominique :
> >
> > > 2009/9/16 Jan Schneider
> > >
> > >
> > > > Zitat von LALOT Dominique :
> > > >
> > > > > Hello,
> > > > >
> > > > > Some people wants to work like this:
> > > > > a secretary is modifying some other people agendas.
> > > > >
> > > > > If the agenda's owner is trying to sync, he only gets his own events. The
> > > > > others which have been created by people having write access are not synced.
> > > > > If I remember some other problem I got a few months ago, that's may be
> > > > > related to the history table.
> > > > >
> > > > > Is there a possibility to get this working?
> > > >
> > > > ? Can you specify what you mean with the relation to the history table? There is no code in the synchronization process that checks the owner of an event.
> > > >
> > > > Jan.
> > >
> > > Sorry Jan,
> > >
> > > It seems that I did a mistake yesterday trying to reproduce a bug. For my last tests, it's working like a charm!
> > > The user who gets such problem in fact was logging in syncml using an Uppercase character at the beginning of his loginuid. I presume then, that the datas are not correct.
> > > Nevertheless, I put a hook to transform the userid a long time ago:
> > > if (!function_exists('_username_hook_frombackend')) {
> > > function _username_hook_frombackend($userID) {
> > > return String::lower($userID);
> > > }
> > > }
> > >
> > > It seems that syncml is not using it. Is there some other hook to setup?
> > No, but synching should use that hook as well.
>
> If I change my login and put Lalot, it appears that history_who contains Lalot instead of lalot. Could this generate a side effect somewhere?
Off my head I think we just use history_who for informational purposes, so it shouldn't break anything. It's still a bug though.
Jan.
--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/
From mephisto at gmx.net Sun Sep 20 18:42:12 2009
From: mephisto at gmx.net (Heiner Markert)
Date: Sun, 20 Sep 2009 20:42:12 +0200
Subject: [sync] Nokia 6267 calendar sync
Message-ID: <4AB67784.8050105@gmx.net>
Hello,
when trying to sync my Nokia 6267 with Horde (version 3.3), after
connecting to the horde server, the phone states "no data transmission
possible", and syncronisation stops. No php errors occur.
/tmp/sync/log.txt states:
DEBUG: Backend of class SyncML_Backend_Horde created
DEBUG: Started at 2009-09-20 20:27:52. Packet logged in
/tmp/sync/client_10.wbxml
DEBUG: New session created: 438ad04b733b873aef999ce2c22b616c
DEBUG: Checking authentication for user hmarkert
DEBUG: Authenticated: yes; version: 1.1; message ID: 1; source URI:
IMEI:xxxx; target URI: https://kolab.DOMAIN/client/rpc.php; user: USER;
charset: UTF-8; wbxml: yes
DEBUG: SQL Query by SyncML_Backend_Horde::eraseMap(): DELETE FROM
horde_syncml_map WHERE syncml_syncpartner = ? AND syncml_db = ? AND
syncml_uid = ?, values: IMEI:355539013613938, calendar, USER
DEBUG: Creating SyncML_Sync object for database calendar; sync type 201
DEBUG: Received from client.
DEBUG: Handle for state Init
DEBUG: Sending to client
DEBUG: Return message completed
DEBUG: Finished at 2009-09-20 20:27:52. Packet logged in
/tmp/sync/server_10.wbxml
I replaced the server domain name with DOMAIN, the imei number with
xxxxx and the users email address with USER.
Any help is very appreciated!
Thank you and best regards
Heiner Markert
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: log.txt
URL: