Sync problem, Funambol 8.0.3/Horde 3.3.4/Blackberry 8330 4.5.0.77: Part 2

View: New views
5 Messages — Rating Filter:   Alert me  

Sync problem, Funambol 8.0.3/Horde 3.3.4/Blackberry 8330 4.5.0.77: Part 2

by Lawrence McAbee :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ok.

In feedback from both Horde and Funambol (thanks for that btw):

Funambol version 8.0.3 does not accept sif-c. Apparently is does not  
log an error, just ignores the sif-c data. Funambol wants vcard.

Horde seems (from lib/SyncML/Device/Sync4j.php) to send contacts as sif-c:

I made the following change:

139,140c139,140
<             /* $content = SyncML_Device_sync4j::vcard2sif($content);
<             $contentType = 'text/x-s4j-sifc'; */
---
>             $content = SyncML_Device_sync4j::vcard2sif($content);
>             $contentType = 'text/x-s4j-sifc';
142d141
<             $contentType = 'text/x-vcard';

To the convertServer2Client call in the Sync4j.php. The section of the  
call now reads:

case 'text/x-vcard' :
             /* $content = SyncML_Device_sync4j::vcard2sif($content);
             $contentType = 'text/x-s4j-sifc'; */
             $content = base64_encode($content);
             $contentType = 'text/x-vcard';
             break;
(Note, I kept the b64 conversion Funambol wants)

I am now getting entries for everything in Horde to my BlackBerry.  
However, the mapping seems broken somewhere. No email addresses and  
other settings are not getting set on the blackberry.

I'll attach synclog.txt and /tmp/sync files.

My questions are:

*) I see no where for convertServer2Client to pass just x-vcard to the  
client. Am I mis reading something?
*) I do see in devinfo.txt that my BB should get sif-c. Where is that  
set? Is that Funambol asking, or Horde setting?
*) The vcard data looks ok, why isn;t Funambol putting the attributes  
in the right place?






--
sync mailing list - Join the hunt: http://horde.org/bounties/#sync
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: sync-unsubscribe@...

sync(2).tar.gz (9K) Download Attachment
synclog(2).txt.gz (48K) Download Attachment

Re: Sync problem, Funambol 8.0.3/Horde 3.3.4/Blackberry 8330 4.5.0.77: Part 2

by Jan Schneider :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Are they kidding? They made every SyncML server supporting their  
proprietary SIF formats because they didn't support the established  
standards - and now that everyone has implemented it, they dropped  
support for it? This got to be a bad joke.

Zitat von Lawrence McAbee <lcm@...>:

> Ok.
>
> In feedback from both Horde and Funambol (thanks for that btw):
>
> Funambol version 8.0.3 does not accept sif-c. Apparently is does not  
>  log an error, just ignores the sif-c data. Funambol wants vcard.
>
> Horde seems (from lib/SyncML/Device/Sync4j.php) to send contacts as sif-c:
>
> I made the following change:
>
> 139,140c139,140
> <             /* $content = SyncML_Device_sync4j::vcard2sif($content);
> <             $contentType = 'text/x-s4j-sifc'; */
> ---
>>            $content = SyncML_Device_sync4j::vcard2sif($content);
>>            $contentType = 'text/x-s4j-sifc';
> 142d141
> <             $contentType = 'text/x-vcard';
>
> To the convertServer2Client call in the Sync4j.php. The section of  
> the  call now reads:
>
> case 'text/x-vcard' :
>             /* $content = SyncML_Device_sync4j::vcard2sif($content);
>             $contentType = 'text/x-s4j-sifc'; */
>             $content = base64_encode($content);
>             $contentType = 'text/x-vcard';
>             break;
> (Note, I kept the b64 conversion Funambol wants)
>
> I am now getting entries for everything in Horde to my BlackBerry.  
> However, the mapping seems broken somewhere. No email addresses and  
> other settings are not getting set on the blackberry.
>
> I'll attach synclog.txt and /tmp/sync files.
>
> My questions are:
>
> *) I see no where for convertServer2Client to pass just x-vcard to  
> the  client. Am I mis reading something?
> *) I do see in devinfo.txt that my BB should get sif-c. Where is  
> that  set? Is that Funambol asking, or Horde setting?
> *) The vcard data looks ok, why isn;t Funambol putting the  
> attributes  in the right place?
>
>
>
>



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@...

Re: Sync problem, Funambol 8.0.3/Horde 3.3.4/Blackberry 8330 4.5.0.77: Part 2

by lst_hoe02 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Zitat von Jan Schneider <jan@...>:

> Are they kidding? They made every SyncML server supporting their  
> proprietary SIF formats because they didn't support the established  
> standards - and now that everyone has implemented it, they dropped  
> support for it? This got to be a bad joke.

 From the Developers Guide for Version 8

Note: starting from Funambol version 7.1, both the server and the  
client will use vCard as preferred format; the server will still  
accept the old format for backward compatibility. Since vCard and  
vCalendar/iCalendar are widely used standards and they must be  
supported anyway, starting from Funambol version 7.1 the SIF  
representation will be smoothly phased out.


That would mean they still cope with SIF-Format. Or maybe "smoothly  
phasedout" mean "drop support in the next release"??

Regards

Andreas


--
sync mailing list - Join the hunt: http://horde.org/bounties/#sync
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: sync-unsubscribe@...

Re: Sync problem, Funambol 8.0.3/Horde 3.3.4/Blackberry 8330 4.5.0.77: Part 2

by Nicholas Istre :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sun, 2009-09-06 at 21:28 +0200, lst_hoe02@... wrote:

> Zitat von Jan Schneider <jan@...>:
>
> > Are they kidding? They made every SyncML server supporting their  
> > proprietary SIF formats because they didn't support the established  
> > standards - and now that everyone has implemented it, they dropped  
> > support for it? This got to be a bad joke.
>
>  From the Developers Guide for Version 8
>
> Note: starting from Funambol version 7.1, both the server and the  
> client will use vCard as preferred format; the server will still  
> accept the old format for backward compatibility. Since vCard and  
> vCalendar/iCalendar are widely used standards and they must be  
> supported anyway, starting from Funambol version 7.1 the SIF  
> representation will be smoothly phased out.
>
>
> That would mean they still cope with SIF-Format. Or maybe "smoothly  
> phasedout" mean "drop support in the next release"??
>
> Regards
>
> Andreas
>
>

I'm sorry about replying to this topic so late, but I've been hitting
this issue too, running Funambol 8.0.4/Horde 3.3.5/Blackberry 9630
4.7.1.30 Simulator.  I'm guessing there are plans on updating Horde to
respond with vcards to the Funambol client in Horde 3.3.x?  As it is, I
need to patch our Horde setup as the Funambol client crashes with a JVM
Error on my Simulator if I try to connect to our Horde/Turba install and
synchronize contacts.  8.0.4 client works just fine if I connect to
my.funambol.com though.

I guess I'll try to get Funambol 7.1 working for our clients; I seem to
have a similar crash with Funambol 7.2.3.  Did they just drop SIF
support there too?  If so, love their definition of "smoothly phased
out"!

Best Regards
Nick Istre

--
sync mailing list - Join the hunt: http://horde.org/bounties/#sync
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: sync-unsubscribe@...

Re: Sync problem, Funambol 8.0.3/Horde 3.3.4/Blackberry 8330 4.5.0.77: Part 2

by lst_hoe02 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Zitat von Nicholas Istre <nick@...>:

> On Sun, 2009-09-06 at 21:28 +0200, lst_hoe02@... wrote:
>> Zitat von Jan Schneider <jan@...>:
>>
>> > Are they kidding? They made every SyncML server supporting their
>> > proprietary SIF formats because they didn't support the established
>> > standards - and now that everyone has implemented it, they dropped
>> > support for it? This got to be a bad joke.
>>
>>  From the Developers Guide for Version 8
>>
>> Note: starting from Funambol version 7.1, both the server and the
>> client will use vCard as preferred format; the server will still
>> accept the old format for backward compatibility. Since vCard and
>> vCalendar/iCalendar are widely used standards and they must be
>> supported anyway, starting from Funambol version 7.1 the SIF
>> representation will be smoothly phased out.
>>
>>
>> That would mean they still cope with SIF-Format. Or maybe "smoothly
>> phasedout" mean "drop support in the next release"??
>>
>> Regards
>>
>> Andreas
>>
>>
>
> I'm sorry about replying to this topic so late, but I've been hitting
> this issue too, running Funambol 8.0.4/Horde 3.3.5/Blackberry 9630
> 4.7.1.30 Simulator.  I'm guessing there are plans on updating Horde to
> respond with vcards to the Funambol client in Horde 3.3.x?  As it is, I
> need to patch our Horde setup as the Funambol client crashes with a JVM
> Error on my Simulator if I try to connect to our Horde/Turba install and
> synchronize contacts.  8.0.4 client works just fine if I connect to
> my.funambol.com though.
>
> I guess I'll try to get Funambol 7.1 working for our clients; I seem to
> have a similar crash with Funambol 7.2.3.  Did they just drop SIF
> support there too?  If so, love their definition of "smoothly phased
> out"!
>
> Best Regards
> Nick Istre

It is not necessarily that they drop support for SIF but sometimes its  
simply the lack of quality at least for the Outlook client (don't know  
about Blackberry). One example is http://bugs.horde.org/ticket/8474.

Try with some nearly empty database first and find out if it is maybe  
some reccuring event or some special chars which get the client  
crashing.

Regards

Andreas


--
sync mailing list - Join the hunt: http://horde.org/bounties/#sync
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: sync-unsubscribe@...