incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Ardelean (Created) (JIRA)" <>
Subject [jira] [Created] (CB-189) Found contacts still not parsed correctly
Date Thu, 19 Jan 2012 11:42:53 GMT
Found contacts still not parsed correctly

                 Key: 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

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

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:!default.jspa
For more information on JIRA, see:


View raw message