incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jesse MacFadyen (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-189) Found contacts still not parsed correctly
Date Thu, 05 Apr 2012 21:40:23 GMT

     [ 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:     (was: 1.6.0)
                   1.7.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.7.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

        

Mime
View raw message