[ https://issues.apache.org/jira/browse/CB-189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Simon MacDonald updated CB-189: ------------------------------- Fix Version/s: (was: 1.5.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.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