Memotoo
Bugs / BoguesRSS Feed
You have noticed bugs, anomalies, then report them here
Informations:
Number of messages: 1067
Number of posts: 4062
Last posted: 2024-09-12 - 14:50
Last visit: 2024-12-28 - 11:27
Number of posts not read since your last visit: 0
Bookmark and Share
Return to the forum - Forums list - Reply to this post - New message - Search a postSearch a post

Sync with a Funambol serverRSS Feed



Author Message
Massimo Arnaudo

Translate this message to:
BulgarianChinese (Traditional)CroatianCzechEnglishFinnishFrancaisGermanGreek
HindiItalianJapaneseNederlandsNorwegianPortugueseRussianSpanishSwedish
smile Posted 2011-12-21 - 17:35

Hello,
i have a Funambol server with i can sync my contacts.
I made a test, so i have created a new Contact in my Funambol (First Name, Last Name, telephone number) and added new records in the table fnbl_pim_contact_item:
INSERT INTO `pippo`.`fnbl_pim_contact_item` (`contact`, `type`, `value`) VALUES ('-252305', '1', '01'), ('-252305', '2', '02'), ('-252305', '3', '03'), ('-252305', '4', '04'), ('-252305', '5', '05'), ('-252305', '6', '06'), ('-252305', '7', '07'), ('-252305', '8', '08'), ('-252305', '10', '10'), ('-252305', '11', '11'), ('-252305', '12', '12'), ('-252305', '13', '13'), ('-252305', '14', '14'), ('-252305', '15', '05'), ('-252305', '16', '16'), ('-252305', '17', '17'), ('-252305', '18', '18'), ('-252305', '19', '19'), ('-252305', '20', '20'), ('-252305', '21', '21'), ('-252305', '22', '22'), ('-252305', '23', '23'), ('-252305', '27', '27'), ('-252305', '28', '28'), ('-252305', '29', '29'), ('-252305', '30', '30'), ('-252305', '31', '31');

after that i synced Memotoo and i have found this result:

TYPE_HOME_TELEPHONE_NUMBER = 1; 01 telefono casa
TYPE_HOME_FAX_NUMBER = 2; 02 fax casa
TYPE_MOBILE_TELEPHONE_NUMBER = 3 03 mobile lavoro
TYPE_EMAIL_1_ADDRESS = 4; 04 email casa
TYPE_WEB_PAGE = 5; empty
TYPE_HOME_WEB_PAGE = 6; 06 web casa
TYPE_BUSINESS_WEB_PAGE = 7; 07 web lavoro
TYPE_INSTANT_MESSENGER = 8; empty

TYPE_BUSINESS_TELEPHONE_NUMBER = 10; 10 telefono lavoro
TYPE_BUSINESS_FAX_NUMBER = 11 11 fax lavoro
TYPE_COMPANY_MAIN_TELEPHONE_NUMBER = 12; empty
TYPE_ASSISTANT_NUMBER = 13; empty
TYPE_PAGER_NUMBER = 14; 14 cercapersone
TYPE_CALLBACK_NUMBER = 15; empty
TYPE_EMAIL_2_ADDRESS = 16; 16 email work
TYPE_BUSINESS_LABEL = 17; empty
TYPE_OTHER_FAX_NUMBER = 29; empty
TYPE_OTHER_LABEL = 19; empty
TYPE_CAR_TELEPHONE_NUMBER = 20; 20 telefono auto
TYPE_PRIMARY_TELEPHONE_NUMBER = 21 empty
TYPE_HOME_2_TELEPHONE_NUMBER = 22; 22 mobile casa
TYPE_EMAIL_3_ADDRESS = 23; 23 email altro

TYPE_TELEX_NUMBER = 27; empty
TYPE_RADIO_TELEPHONE_NUMBER = 28; empty
TYPE_OTHER_FAX_NUMBER = 29; 29 fax altro
TYPE_OTHER_TELEPHONE_NUMBER = 30; 30 telefono altro
TYPE_BUSINESS_2_TELEPHONE_NUMBER = 31; empty

So my first question is: why there are so many empty values?

After that i changed the value in the field Busines Phone, from '10' to '-10' and sync again with the Funambol server.

Now the values in the table fnbl_pim_contact-item are changed a lot!

Query SQL: SELECT * FROM `fnbl_pim_contact_item` WHERE `contact` = -252305 LIMIT 0, 30 ;
Righe: 27
contact type value
-252305 [->] 1 01
-252305 [->] 2 02
-252305 [->] 3
-252305 [->] 4 23
-252305 [->] 5 05
-252305 [->] 6 06
-252305 [->] 7 07
-252305 [->] 8 08
-252305 [->] 10 10-
-252305 [->] 11 11
-252305 [->] 12
-252305 [->] 13 13
-252305 [->] 14 14
-252305 [->] 15 15
-252305 [->] 16 04
-252305 [->] 17 17
-252305 [->] 18 18
-252305 [->] 19 19
-252305 [->] 20 20
-252305 [->] 21
-252305 [->] 22
-252305 [->] 23 16
-252305 [->] 27 27
-252305 [->] 28 28
-252305 [->] 29 29
-252305 [->] 30 30
-252305 [->] 31

So my second question, why the key->values in the fields '04','16','23' were reversed?

Best regards
Massimo



5 Replie(s)
Author Message
Thomas - Webmaster Memotoo
Thomas - Webmaster Memotoo


Translate this message to:
BulgarianChinese (Traditional)CroatianCzechEnglishFinnishFrancaisGermanGreek
HindiItalianJapaneseNederlandsNorwegianPortugueseRussianSpanishSwedish
smile Posted 2011-12-22 - 17:43     Subject: Re: Re: Sync with a Funambol server

Hello Maximo

And if you set "text/x-s4j-sifc" in the format of the contacts ??
https://www.memotoo.com/how-to-sync-a-syncml-server.php

Change this value, modify the contact and sync again.


Massimo Arnaudo

Translate this message to:
BulgarianChinese (Traditional)CroatianCzechEnglishFinnishFrancaisGermanGreek
HindiItalianJapaneseNederlandsNorwegianPortugueseRussianSpanishSwedish
smile Posted 2011-12-23 - 10:42     Subject: Re: Sync with a Funambol server

Hello Thomas,
i have changed the value, like you suggested (i had noticed that), and made news tests.
1) Have modified an corrected all the values in the fnbl_pim_contact_item (like key=value)
Query SQL: SELECT * FROM `fnbl_pim_contact_item` WHERE `contact` = -252305 LIMIT 0, 30 ;
Righe: 27
contact type value
-252305 [->] 1 01
-252305 [->] 2 02
-252305 [->] 3 03
-252305 [->] 4 04
-252305 [->] 5 05
-252305 [->] 6 06
-252305 [->] 7 07
-252305 [->] 8 08
-252305 [->] 10 10
-252305 [->] 11 11
-252305 [->] 12 12
-252305 [->] 13 13
-252305 [->] 14 14
-252305 [->] 15 15
-252305 [->] 16 16
-252305 [->] 17 17
-252305 [->] 18 18
-252305 [->] 19 19
-252305 [->] 20 20
-252305 [->] 21 21
-252305 [->] 22 22
-252305 [->] 23 23
-252305 [->] 27 27
-252305 [->] 28 28
-252305 [->] 29 29
-252305 [->] 30 30
-252305 [->] 31 31

2) synced and modified the value "10" into "1010" in the field "tele work"

3) synced again and in the fnbl_pim_contact_item i can view some wrong values for the types 3,5,13 (empty),31
Query SQL: SELECT * FROM `fnbl_pim_contact_item` WHERE `contact` = -252305 LIMIT 0, 30 ;
Righe: 27
contact type value
-252305 [->] 1 01
-252305 [->] 2 02
-252305 [->] 3 22
-252305 [->] 4 04
-252305 [->] 5 07
-252305 [->] 6 06
-252305 [->] 7 07
-252305 [->] 8 08
-252305 [->] 10 1010
-252305 [->] 11 11
-252305 [->] 12 12
-252305 [->] 13
-252305 [->] 14 14
-252305 [->] 15 15
-252305 [->] 16 16
-252305 [->] 17 17
-252305 [->] 18 18
-252305 [->] 19 19
-252305 [->] 20 20
-252305 [->] 21 21
-252305 [->] 22 22
-252305 [->] 23 23
-252305 [->] 27 27
-252305 [->] 28 28
-252305 [->] 29 29
-252305 [->] 30 30
-252305 [->] 31 03

It is possible to correct this?

Best Regards
Massimo


Thomas - Webmaster Memotoo
Thomas - Webmaster Memotoo


Translate this message to:
BulgarianChinese (Traditional)CroatianCzechEnglishFinnishFrancaisGermanGreek
HindiItalianJapaneseNederlandsNorwegianPortugueseRussianSpanishSwedish
smile Posted 2011-12-27 - 16:49     Subject: Re: Sync with a Funambol server

May be but what are the fields "3","5","13" and "31" ? email work, phone ?


Massimo Arnaudo

Translate this message to:
BulgarianChinese (Traditional)CroatianCzechEnglishFinnishFrancaisGermanGreek
HindiItalianJapaneseNederlandsNorwegianPortugueseRussianSpanishSwedish
smile Posted 2011-12-27 - 17:54     Subject: Re: Sync with a Funambol server

Hello Thomas,
according with this file ( http://code.google.com/p/syncby/source/browse/trunk/SyncSources/funambol/fnbl_pi...) the value would be:
3 - MobileTelephoneNumber - PERSONAL PHONES
5 - WebPage - PERSONAL WEB
13 - AssistantTelephoneNumber - BUSINESS PHONES
31 - Business2TelephoneNumber - BUSINESS PHONES

After that, when i will be sure that the values will not dropped or reversed, i will act on the application connected with the Funambol server

Best Regards
Massimo


Thomas - Webmaster Memotoo
Thomas - Webmaster Memotoo


Translate this message to:
BulgarianChinese (Traditional)CroatianCzechEnglishFinnishFrancaisGermanGreek
HindiItalianJapaneseNederlandsNorwegianPortugueseRussianSpanishSwedish
smile Posted 2011-12-27 - 19:15     Subject: Re: Re: Sync with a Funambol server

Ok ... but I think I can do nothing because normally the syntax is the same as ths Funambol client sent ...

Your contact "Cognome4 Nome" is exported as this to your Funambol server: (with the value that are now in your account)
<contact>
<AssistantName></AssistantName>
<AssistantTelephoneNumber></AssistantTelephoneNumber>
<Birthday></Birthday>
<Body></Body>
<BusinessAddressCity>Savona</BusinessAddressCity>
<BusinessAddressCountry></BusinessAddressCountry>
<BusinessAddressPostalCode>17100</BusinessAddressPostalCode>
<BusinessAddressState>SV</BusinessAddressState>
<BusinessAddressStreet>Via Dei Vegerio, 22 R</BusinessAddressStreet>
<BusinessFaxNumber>11</BusinessFaxNumber>
<BusinessTelephoneNumber>1010</BusinessTelephoneNumber>
<Business2TelephoneNumber>03</Business2TelephoneNumber>
<BusinessWebPage>07</BusinessWebPage>
<CarTelephoneNumber>20</CarTelephoneNumber>
<Categories></Categories>
<Children></Children>
<CompanyName>Kappa 5 Srl - Amministrazione</CompanyName>
<Department></Department>
<Email1Address>04</Email1Address>
<Email1AddressType>SMTP</Email1AddressType>
<Email2Address>16</Email2Address>
<Email2AddressType>SMTP</Email2AddressType>
<Email3Address>23</Email3Address>
<Email3AddressType>SMTP</Email3AddressType>
<FileAs>Cognome4 Nome</FileAs>
<FirstName>Nome</FirstName>
<HomeAddressCity></HomeAddressCity>
<HomeAddressCountry></HomeAddressCountry>
<HomeAddressPostalCode></HomeAddressPostalCode>
<HomeAddressState></HomeAddressState>
<HomeAddressStreet></HomeAddressStreet>
<HomeFaxNumber>02</HomeFaxNumber>
<HomeTelephoneNumber>01</HomeTelephoneNumber>
<HomeWebPage>06</HomeWebPage>
<JobTitle></JobTitle>
<LastName>Cognome4</LastName>
<ManagerName></ManagerName>
<MiddleName></MiddleName>
<MobileTelephoneNumber>22</MobileTelephoneNumber>
<NickName></NickName>
<OtherAddressCity></OtherAddressCity>
<OtherAddressCountry></OtherAddressCountry>
<OtherAddressPostalCode></OtherAddressPostalCode>
<OtherAddressState></OtherAddressState>
<OtherAddressStreet></OtherAddressStreet>
<OtherFaxNumber>29</OtherFaxNumber>
<OtherTelephoneNumber>30</OtherTelephoneNumber>
<PagerNumber>14</PagerNumber>
<Spouse></Spouse>
<Subject>Cognome4 Nome</Subject>
<Suffix></Suffix>
<Title></Title>
<WebPage>07</WebPage>
</contact>


Memotoo Cloud Add Memotoo widgets to iGoogleiGoogle, NetvibesNetvibes.com, Windows VistaWindows Vista, Apple DashboardMac OS X, ...
Learn more ยป
Return to the forum - Forums list - Reply to this post - New message - Search a postSearch a post