incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Olivier Louvignes (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:37:30 GMT

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

Olivier Louvignes commented on CB-143:
--------------------------------------

I'm setting every field to null but it seemed that it hanged on the streetAddress in my case.
I'm trying to delete the whole field. Will try to dig this further, does this work for you?

aContact.addresses[0].country = '';
aContact.addresses[0].locality = '';
aContact.addresses[0].postalCode = '';
aContact.addresses[0].region = '';
aContact.addresses[0].streetAddress = ''; // crash if empty ?

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