Mailing List CGatePro@mail.stalker.com Message #92614
From: Bret Miller <bret.miller@wcg.org>
Subject: XIMSS contactAppend adds a \ to the full name
Date: Fri, 14 Sep 2007 14:19:37 -0700
To: CommuniGate Pro Discussions <CGatePro@mail.stalker.com>
X-Mailer: CommuniGate Pro MAPI Connector 1.2.12/1.2.12(local)
XIMSS has been more frustrating than helpful in my current project due to missing features, and now a bug...
Perhaps this is a known issue already, but I'm trying to add a contact, and it seems like CGPro is escaping a comma when it doesn't need to be escaped thus adding a \ to the middle of the full name.

I'm adding:

<contactAppend id="a1104" folder="mycontacts"><vCard>
<NAME>Worldwide News (AUS)</NAME>
<N><FAMILY>(AUS)</FAMILY><GIVEN>Worldwide News</GIVEN><MIDDLE></MIDDLE><PREFIX></PREFIX><SUFFIX></SUFFIX></N>
<EMAIL><INTERNET /><USERID>aus.worldwide.news@wcg.org</USERID></EMAIL>
<TITLE></TITLE>
<LOCATION>Australia/New Zealand/Asia</LOCATION>
<TEL><WORK /><VOICE /><MSG /><NUMBER></NUMBER></TEL>
<TEL><CELL /><VOICE /><MSG /><NUMBER></NUMBER></TEL>
</vCard></contactAppend>

The actual item that gets added looks like this:

>From <>(S_____________-000000001160) 14-09-2007_21:07:30_
content-class: urn:content-classes:person
Date: Fri, 14 Sep 2007 14:07:30 -0700
Subject: (AUS), Worldwide News
To: aus.worldwide.news@wcg.org
Message-ID: <1189804050.1160.support@wcg.org>
MIME-Version: 1.0
Content-Type: text/x-vcard; charset="utf-8"

BEGIN:VCARD
VERSION:2.1
EMAIL;INTERNET:aus.worldwide.news@wcg.org
FN:(AUS)\, Worldwide News
LOCATION:Australia/New Zealand/Asia
N:(AUS);Worldwide News;;;
NAME:Worldwide News (AUS)
TEL;WORK;VOICE;MSG:
TEL;CELL;VOICE;MSG:
TITLE:
UID:1189804050.1160.support@wcg.org
END:VCARD

Note the FN: line.

Ugh. I guess I rewrite the "add contacts" section in IMAP now unless there's an impending bug-fix release coming very soon.

Bret



Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mail to Listmaster