incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Becky Gibson (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-143) Saving a Contact address with an empty streetAddress will crash XCode
Date Thu, 29 Dec 2011 15:21:30 GMT

    [ https://issues.apache.org/jira/browse/CB-143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13177222#comment-13177222
] 

Becky Gibson commented on CB-143:
---------------------------------

Can you please provide more details?  I am able to find a contact that contains a street address,
change that street address to null and save and it works fine?   I'm willing to believe there
is a bug, I just need a way to reliably reproduce.   This worked for me:

if (aContact.addresses) {
                        // my test case does have a streetAddress
                        aContact.addresses[0].streetAddress = null;
                    }
aContact.save(function(theContact){console.log(theContact);}, function(error){ console.log(error.code);});
                
> Saving a Contact address with an empty streetAddress will crash XCode
> ---------------------------------------------------------------------
>
>                 Key: CB-143
>                 URL: https://issues.apache.org/jira/browse/CB-143
>             Project: Apache Callback
>          Issue Type: Bug
>    Affects Versions: 1.2.0, 1.3.0
>         Environment: XCode 4.2.1
>            Reporter: Olivier Louvignes
>            Priority: Minor
>              Labels: contacts
>
> Trying to delete a contact address field by saving a null item with specific id. Works
well for phone/email/url but crashes for address. Seems that streetAddress to null will trigger
the crash (BadAccess, etc.)

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