Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EE20C920C for ; Tue, 6 Mar 2012 21:22:18 +0000 (UTC) Received: (qmail 90155 invoked by uid 500); 6 Mar 2012 21:22:18 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 90132 invoked by uid 500); 6 Mar 2012 21:22:18 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 90124 invoked by uid 99); 6 Mar 2012 21:22:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Mar 2012 21:22:18 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Mar 2012 21:22:17 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 874DAC83F for ; Tue, 6 Mar 2012 21:21:57 +0000 (UTC) Date: Tue, 6 Mar 2012 21:21:57 +0000 (UTC) From: "Jesse MacFadyen (Updated) (JIRA)" To: callback-dev@incubator.apache.org Message-ID: <1095074933.29625.1331068917556.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <2090446451.55874.1326973373153.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (CB-189) Found contacts still not parsed correctly MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CB-189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jesse MacFadyen updated CB-189: ------------------------------- Fix Version/s: 1.6.0 > Found contacts still not parsed correctly > ----------------------------------------- > > Key: CB-189 > URL: https://issues.apache.org/jira/browse/CB-189 > Project: Apache Callback > Issue Type: Bug > Components: WP7 > Affects Versions: 1.3.0 > Environment: All Emulator and Phone > Reporter: Dan Ardelean > Assignee: Jesse MacFadyen > Labels: bug, contacts > Fix For: 1.5.0, 1.6.0 > > > The fix that was uploaded to the Contacts part still doesn't resolve the issue of correctly parsing contact data. Now the name looks like it is parsed correctly but there are still bugs. > For the phone part from the message result you won't see if it is work, home as it has only the phone numbers inside the [] . On the address part it's even worse > The method is bugged: > private string FormatJSONAddresses(Contact con) > { > string retVal = ""; > foreach (ContactAddress address in con.Addresses) > { > retVal += "\"" + address.ToString() + "\","; > } > return retVal.TrimEnd(','); > } > The ToString() it won't return the real address but the type of the variable in string so Microsoft.Phone.UserData.ContactAddress. > The whole return of the contact seems in the wrong format -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira