
marten.gajda at googlemail
Apr 20, 2012, 5:42 AM
Post #2 of 5
(354 views)
Permalink
|
|
Re: CardDAV ADR field after modifications by evolution and an iPhone
[In reply to]
|
|
Hi Arnaud, Here is the problem: ITEM2.ADR;TYPE=HOME;TYPE=pref: \;\;6 Small Street\;Testville\;\;4444\;Marshall Islands After the modification on iPhone all ";" are escaped. They are no longer field separators, thus the whole line goes to "PO Box". I can't tell you why your iPhone does that, but I'm pretty sure it's not a server issue. On a first glace the last Evolution vCard looks valid to me. cheers Marten Am 20.04.2012 10:45, schrieb Arnaud: > Hi everyone, > > I noticed something strange if I modify the addresses of my contacts > (CardDAV) from both evolution and an iPhone. > > After a couple of modifications back and forth, the address will not be > displayed at all on the iPhone and end up broken in evolution. > > I know it looks more like a client issue, but I never noticed this > during the 6 month I used davical 0.9.9.3 with the same clients. It only > appeared when I upgraded davical to 1.0.2 earlier this week so it made > me suspect davical. > Of course, it could still be a client issue, one of the client being > fine with the data served by the "old" davical but not liking the newer > one, for whatever reason (implementation of the standard, etc.). > > In the logs below, you can see that the ADR field is changed like this: > ADR;TYPE=HOME:blabla --> item1.ADR;type=HOME;type=pref:blabla --> > ITEM2.ADR;TYPE=HOME;TYPE=pref:blabla. > That's when it's changed to "ITEM2.ADR" that everything goes awry. I'm > not sure what the standard says in this regard. > > I would really appreciate some help/hints to clear this issue! > > Versions I use: > - davical 1.0.2 (Debian "testing" package, backported to "stable") > - evolution 3.2.2 (Debian "testing") > - iPhone/iOS 4.3.1 (8G4) > > > Here are some logs (vcf files). > > Initial creation with evolution: > ---------------------------------------------------------------- > BEGIN:VCARD > VERSION:3.0 > TEL;X-EVOLUTION-UI-SLOT=1;TYPE=WORK,VOICE:+47.00.00.00.00 > URL: > TITLE: > ROLE: > X-EVOLUTION-MANAGER: > X-EVOLUTION-ASSISTANT: > NICKNAME:Testy > X-EVOLUTION-SPOUSE: > NOTE: > FN:Test Name > N:Name;Test;;; > X-EVOLUTION-BLOG-URL: > CALURI: > FBURL: > X-EVOLUTION-VIDEO-URL: > X-MOZILLA-HTML:FALSE > X-EVOLUTION-FILE-AS:Name\, Test > EMAIL;X-EVOLUTION-UI-SLOT=2;TYPE=HOME:test [at] provider > ADR;TYPE=HOME:;;1 Main Street;Testcity;;1111;Testland > LABEL;TYPE=HOME:Test Name\n1 Main Street\n1111 TESTCITY\n\nTESTLAND > UID:ed7ff885-6b87-27d4-45b2-6511c82198ef > REV:20120419T085330Z > END:VCARD > ---------------------------------------------------------------- > > > After next modifications with evolution: > ---------------------------------------------------------------- > BEGIN:VCARD > VERSION:3.0 > TEL;X-EVOLUTION-UI-SLOT=1;TYPE=WORK,VOICE:+47.00.00.00.00 > URL: > TITLE: > ROLE: > X-EVOLUTION-MANAGER: > X-EVOLUTION-ASSISTANT: > NICKNAME:Testy > X-EVOLUTION-SPOUSE: > NOTE: > FN:Test Name > N:Name;Test;;; > X-EVOLUTION-BLOG-URL: > CALURI: > FBURL: > X-EVOLUTION-VIDEO-URL: > X-MOZILLA-HTML:FALSE > ADR;TYPE=HOME:;;2 Main Street;Testcity;;1111;Testland > LABEL;TYPE=HOME:Test Name\n2 Main Street\nTestcity\, 1111\n\nTESTLAND > X-EVOLUTION-FILE-AS:Name\, Test > EMAIL;X-EVOLUTION-UI-SLOT=1;TYPE=WORK:work [at] provider > EMAIL;X-EVOLUTION-UI-SLOT=2;TYPE=HOME:test [at] provider > UID:27943f96-90d5-4df4-793d-c388dd408e97 > REV:20120419T085906Z > END:VCARD > ---------------------------------------------------------------- > > After next modifications from the iPhone: > ---------------------------------------------------------------- > BEGIN:VCARD > VERSION:3.0 > N:Name;Test;;; > FN:Test Name > NICKNAME:Testy > EMAIL;type=INTERNET;type=WORK;type=pref:work [at] provider > EMAIL;type=INTERNET;type=HOME:test [at] provider > TEL;type=WORK;type=pref:+47.00.00.00.00 > item1.ADR;type=HOME;type=pref:;;4 Main Street;Testvillage;;3333;Samoa > item1.X-ABADR:ws > UID:ab113062-d45d-a434-658a-ceb17d1fb301 > X-EVOLUTION-FILE-AS:Name\, Test > X-MOZILLA-HTML:FALSE > REV:20120419T090551Z > END:VCARD > ---------------------------------------------------------------- > > After next modifications, again with evolution: > ---------------------------------------------------------------- > BEGIN:VCARD > VERSION:3.0 > TEL;X-EVOLUTION-UI-SLOT=1;TYPE=PREF:+47.00.00.00.00 > N:Name;Test;;; > FN:Test Name > NICKNAME:Testy > item1.ADR;type=HOME,pref:;;5 Small Street;Testcity;;4444;Mycountry > item1.X-ABADR:ws > X-MOZILLA-HTML:FALSE > URL: > TITLE: > ROLE: > X-EVOLUTION-MANAGER: > X-EVOLUTION-ASSISTANT: > X-EVOLUTION-SPOUSE: > NOTE: > X-EVOLUTION-BLOG-URL: > CALURI: > FBURL: > X-EVOLUTION-VIDEO-URL: > X-EVOLUTION-FILE-AS:Name\, Test > EMAIL;X-EVOLUTION-UI-SLOT=1;TYPE=WORK:work [at] provider > EMAIL;X-EVOLUTION-UI-SLOT=2;TYPE=HOME:test [at] provider > LABEL;TYPE=HOME: > Test Name\n5 Small Street\nTestcity\, 4444\n\nMYCOUNTRY > UID:408523f2-ce89-f734-0d4a-c05a149fdefa > REV:20120419T090814Z > END:VCARD > ---------------------------------------------------------------- > > After next modifications with iPhone: > ---------------------------------------------------------------- > BEGIN:VCARD > VERSION:3.0 > N:Name;Test;;; > FN:Test Name > NICKNAME:Testy > EMAIL;type=INTERNET;type=WORK;type=pref:work [at] provider > EMAIL;type=INTERNET;type=HOME:test [at] provider > item1.TEL;type=pref:+47.00.00.00.00 > ITEM2.ADR;TYPE=HOME;TYPE=pref: > \;\;6 Small Street\;Testville\;\;4444\;Marshall Islands > item2.X-ABADR:mh > UID:408523f2-ce89-f734-0d4a-c05a149fdefa > X-EVOLUTION-FILE-AS:Name\, Test > X-MOZILLA-HTML:FALSE > REV:20120419T091141Z > END:VCARD > ---------------------------------------------------------------- > > > At this point, it's a lost cause: the address is not displayed at all on > the iPhone. In evolution, instead of being nicely formatted as: > Address: 6 Small Street > City: Testville > Zip/Postal Code: 4444 > Country: Marshall Islands > > It will all show up as: > Address: /empty/ > City: /empty/ > Zip/Postal Code: /empty/ > Country: /empty/ > PO Box: ;;6 Small Street;Testville;;4444;Marshall Islands > > > > Best regards, > ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Davical-general mailing list Davical-general [at] lists https://lists.sourceforge.net/lists/listinfo/davical-general
|