<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>Problem sync text/x-s4j-sifn funambol-client</title> 
  <pubDate>Sat, 04 Apr 2026 14:53:41 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/9487</link> 
  <atom:link rel="self" type="application/rss+xml" title="Problem sync text/x-s4j-sifn funambol-client" href="https://bugs.horde.org/ticket/9487/rss" /> 
  <description>Problem sync text/x-s4j-sifn funambol-client</description> 
 
   
   
  <item> 
   <title>Hello,

i&#039;m trying to sync my Windows Mobile Phone with la</title> 
   <description>Hello,

i&#039;m trying to sync my Windows Mobile Phone with laterst funambol client 8.7.2 on it to lates horde version 3.3.11 with mnemo 2.2.4 installed.

The only problem is syncing memo&#039;s (Notizen in german) - following error occurs in the horde.log

Jan 04 09:14:06 HORDE [error] [horde] API export call for 20110104084009.23932clo2w3keaxw@tachtler.net failed: Nicht unterstützter Inhaltstyp: text/x-s4j-sifn [pid 27875 on line 497 of &quot;/usr/share/horde/lib/SyncML/Sync.php&quot;]

Thanks,
Klaus</description> 
   <pubDate>Tue, 04 Jan 2011 08:50:29 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9487#t61288</link> 
  </item> 
   
  <item> 
   <title>Please read http://wiki.horde.org/SyncMLProblemReport and fo</title> 
   <description>Please read http://wiki.horde.org/SyncMLProblemReport and follow the steps to generate complete SyncML debugging information.

We do accept text/x-s4j-sifn content types, but convert it if discovering a Funambol client. Maybe the client is not properly detected.</description> 
   <pubDate>Tue, 04 Jan 2011 14:11:15 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9487#t61289</link> 
  </item> 
   
  <item> 
   <title>Hallo,

thank you first for your time, here the details fr</title> 
   <description>Hallo,

thank you first for your time, here the details from DEBUG you need:

Horde Version 3.3.11
pear.horde.org/SyncML-0.7.0
NO PHP errors will occure

Wich files from /tmp/sync dow you really need? - I will post them as TEXT here, if you want, or send it, if you want?

Thanks for that help!

Klaus</description> 
   <pubDate>Tue, 04 Jan 2011 14:59:58 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9487#t61290</link> 
  </item> 
   
  <item> 
   <title>Please upload all of them, either separately or as an archiv</title> 
   <description>Please upload all of them, either separately or as an archive.</description> 
   <pubDate>Tue, 04 Jan 2011 16:16:45 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9487#t61299</link> 
  </item> 
   
  <item> 
   <title>Hello,

here the missing Files from /tmp/sync...

I earl</title> 
   <description>Hello,

here the missing Files from /tmp/sync...

I earlier Versions of horde, syncing in Format: SIF was possible with calendar, adressbook and memo - i think sonce 3.3.x - there are problems with it.

Syncing from my mobile to the server (Horde) was possible, but syncing from the server to the mobile ends up with the error i wrote earlier in this ticket..

Thank you,
Klaus.
</description> 
   <pubDate>Tue, 04 Jan 2011 19:35:00 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9487#t61308</link> 
  </item> 
   
  <item> 
   <title>Hello,

is there anybody with the same problem, I&#039;m still </title> 
   <description>Hello,

is there anybody with the same problem, I&#039;m still having this problem, pleas can anybody help?

Thank you.
Klaus.

&gt; Hello,
&gt;
&gt; here the missing Files from /tmp/sync...
&gt;
&gt; I earlier Versions of horde, syncing in Format: SIF was possible with 
&gt; calendar, adressbook and memo - i think sonce 3.3.x - there are 
&gt; problems with it.
&gt;
&gt; Syncing from my mobile to the server (Horde) was possible, but 
&gt; syncing from the server to the mobile ends up with the error i wrote 
&gt; earlier in this ticket..
&gt;
&gt; Thank you,
&gt; Klaus.
&gt;
</description> 
   <pubDate>Tue, 29 Mar 2011 14:26:47 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9487#t62794</link> 
  </item> 
   
  <item> 
   <title>Hello,

I&#039;ve tried lots of things to sync mnemo with my fu</title> 
   <description>Hello,

I&#039;ve tried lots of things to sync mnemo with my funambol-client on my pocket-pc, but in horde error log are always the same error-messages:

Apr 06 15:42:21 HORDE [error] [horde] API export call for ... failed: Nicht unterstützter Inhaltstyp: text/x-s4j-sifn [pid 4590 on line 497 of &quot;/usr/share/horde/lib/SyncML/Sync.php&quot;]

Please, can anybody from Horde.org help me to solve the problem?

Thank you!</description> 
   <pubDate>Wed, 06 Apr 2011 13:47:40 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9487#t63217</link> 
  </item> 
   
  <item> 
   <title>
----- Original Message ----- 
From: &quot;Alex May&quot; &lt;alex@maym</title> 
   <description>
----- Original Message ----- 
From: &quot;Alex May&quot; &lt;alex@maymay.de&gt;
To: &lt;sync@lists.horde.org&gt;
Sent: Tuesday, July 10, 2012 5:56 AM
Subject: Re: [sync] Mnemo Export



----- Original Message ----- 
From: &quot;Alex May&quot; &lt;alex@maymay.de&gt;
To: &lt;sync@lists.horde.org&gt;
Sent: Saturday, July 07, 2012 5:59 PM
Subject: Mnemo Export


I am trying to debug the memo sync with Funambol.

I found a tip to add a case for x-s4j-sifn within the export function in Api.php in the mnemo/lib.
This solves the error message that that type isn&#039;t defined, but I&#039;m still getting no sync.

I believe that the output is going through some sort of htmlentities function after the export function as the field definitions 
like &lt;Subject&gt; are being replaced by &amp;lt;Subject&amp;gt; before the text is passed to the remote client.

To try and find the source of the problem I tried running the following on the horde base directory:
find . | xargs grep &#039;htmlentities&#039;
and
find . | xargs grep &#039;export(&#039;
but neither of these seemed to point to any useful results.

Can anyone either:
- tell me why I am not finding the function call with the above or
- tell me where the export function is called from?

Thanks,
Alex May


Surely someone must understand how the Memo sync is supposed to work?!?


-- 
sync mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: sync-unsubscribe@lists.horde.org
</description> 
   <pubDate>Sun, 22 Jul 2012 07:17:38 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9487#t71988</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git (master):

commit c9fa298f9649</title> 
   <description>Changes have been made in Git (master):

commit c9fa298f96495b6f5e10a611916e45bcb4ec562c
Author: Jan Schneider &lt;jan@horde.org&gt;
Date:   Tue Nov 6 17:42:01 2012 +0100

    Consider snote a valid database name too (Bug #9487).

 framework/SyncMl/lib/Horde/SyncMl/Device.php |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

http://git.horde.org/horde-git/-/commit/c9fa298f96495b6f5e10a611916e45bcb4ec562c</description> 
   <pubDate>Tue, 06 Nov 2012 16:42:22 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9487#t74484</link> 
  </item> 
   
  <item> 
   <title>Does this help?</title> 
   <description>Does this help?</description> 
   <pubDate>Tue, 06 Nov 2012 16:42:29 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9487#t74485</link> 
  </item> 
   
  <item> 
   <title>Hi Jan,

&gt; Does this help?

thank you for the help, BUT </title> 
   <description>Hi Jan,

&gt; Does this help?

thank you for the help, BUT - no sorry it doesn&#039;t help!

I added the lines 80 and 133 on my file /usr/share/pear/Horde/SyncMl/Device.php

But still the same problem.

Any other ideas?

p.s. Do I have to change anything on the database? Can I check anything on the database?

Thank you!
Klaus.
</description> 
   <pubDate>Tue, 06 Nov 2012 17:53:26 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9487#t74510</link> 
  </item> 
   
  <item> 
   <title>This is still a bug in current SyncML code.
It arises when </title> 
   <description>This is still a bug in current SyncML code.
It arises when you make a new note (or modify one) at mnemo and trigger a sync from Funambol Client for Outlook.

When using &quot;Funambol Outlook Sync Client Version 9.0.1&quot;, you can check these databases and data formats with &quot;Details...&quot; buttons:
 Contacs  vCard
 Calendar vCalendar
 Tasks vCalendar
 Notes SIF

Those data formats can&#039;t be modified by user.
SIF data format makes client handle &quot;text/x-s4j-sifn&quot; as ContentType for notes. All other databases make use of a well known data format, and avoid this bug.

Function createSyncOutput at Horde/SyncMl/Sync.php gets ContentType from client with:
$contentType = $device-&gt;getPreferredContentTypeClient($this-&gt;_targetLocURI, $this-&gt;_sourceLocURI);

and with funambol client for Outlook it will get &quot;text/x-s4j-sifn&quot;.
This function will later handle additions to client with:
$c = $backend-&gt;retrieveEntry($syncDB, $suid, $ct, $fields[$ct]);
being $ct =  $contentType = &quot;text/x-s4j-sifn&quot;.

This calls &quot;export()&quot; function in mnemo/lib/Api.php, which doesn&#039;t handle  &quot;text/x-s4j-sifn&quot;, so you get the error and no sync gets done:
ERR: HORDE API export call for xxxx failed: Unsupported Content-Type: text/x-s4j-sifn

Function &quot;getPreferredContentTypeClient&quot; for  Horde_SyncMl_Device_sync4j class should return some ContentType available in mnemo/lib/Api.php, and content will later be transformed with an already coded call to $device-&gt;convertServer2Client  within createSyncOutput().

So the attached patch extends Horde_SyncMl_Device_sync4j class with its own getPreferredContentTypeClient function, which will return &quot;text/x-vnote&quot; instead of &quot;text/x-s4j-sifn&quot;.

Just one more patch:
Function vnote2sif() in Device/Sync4j.php calls &#039;Categories&#039; =&gt; $components[0]-&gt;getAttribute(&#039;CATEGORIES&#039;));
But a sync of  a new mnemo note without any tag triggers an error (EMERG: HORDE Attribute &quot;CATEGORIES&quot; Not Found.) and no sync is done.

So I&#039;ve also replaced that line with:
 &#039;Categories&#039; =&gt; $components[0]-&gt;getAttributeDefault(&#039;CATEGORIES&#039;, &#039;&#039;));

Hope to be usefull.</description> 
   <pubDate>Tue, 18 Nov 2014 18:30:57 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9487#t86472</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git (master):

commit a4d8454b3401</title> 
   <description>Changes have been made in Git (master):

commit a4d8454b34010a4fd2e28db01be40cc904642dbc
Author: Jan Schneider &lt;jan@horde.org&gt;
Date:   Fri Nov 21 17:17:20 2014 +0100

    [jan] Fix exporting notes to Funambol clients (horde@albasoft.com, Bug #9487).

 .../SyncMl/lib/Horde/SyncMl/Device/Sync4j.php      |   31 +++++++++++++++++++-
 framework/SyncMl/package.xml                       |    2 +
 2 files changed, 32 insertions(+), 1 deletions(-)

http://github.com/horde/horde/commit/a4d8454b34010a4fd2e28db01be40cc904642dbc</description> 
   <pubDate>Fri, 21 Nov 2014 16:16:50 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9487#t86520</link> 
  </item> 
   
  <item> 
   <title>Thanks for the thorough analysis and solution!</title> 
   <description>Thanks for the thorough analysis and solution!</description> 
   <pubDate>Fri, 21 Nov 2014 16:16:59 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9487#t86521</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
