You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Becky Gibson (JIRA)" <ji...@apache.org> on 2012/06/28 17:10:42 UTC

[jira] [Created] (CB-976) Check for proper deletion of Contact.organizations

Becky Gibson created CB-976:
-------------------------------

             Summary: Check for proper deletion of Contact.organizations
                 Key: CB-976
                 URL: https://issues.apache.org/jira/browse/CB-976
             Project: Apache Cordova
          Issue Type: Bug
          Components: iOS
    Affects Versions: 1.8.1, 1.9.0
            Reporter: Becky Gibson
            Assignee: Becky Gibson
             Fix For: 2.0.0


When fixing CB-961, I noticed that Organization information is NOT deleted in the same manner as other Contact arrays.   For the other arrays (phoneNumbers, ims, emails, urls, addresses, photos) setting the value to an empty array will delete the entire property.  This is not the case for organizations. In order to delete the Organization on iOS each individual, supported property of the ContactOrganization object must be set to the empty string. 

Need to research this a bit more before fixing as Contacts need a review and possible overhaul to bring up to the level of the latests W3C specification.    

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

        

[jira] [Resolved] (CB-976) Check for proper deletion of Contact.organizations

Posted by "Becky Gibson (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-976?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Becky Gibson resolved CB-976.
-----------------------------

    Resolution: Fixed

Had to deal with CB-997 crash so fixed this as well with this commit:  https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-ios.git;a=commit;h=7b9b434de9278a251398c77993a40baa175f75f1
                
> Check for proper deletion of Contact.organizations
> --------------------------------------------------
>
>                 Key: CB-976
>                 URL: https://issues.apache.org/jira/browse/CB-976
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 1.8.1, 1.9.0
>            Reporter: Becky Gibson
>            Assignee: Becky Gibson
>             Fix For: 2.0.0
>
>
> When fixing CB-961, I noticed that Organization information is NOT deleted in the same manner as other Contact arrays.   For the other arrays (phoneNumbers, ims, emails, urls, addresses, photos) setting the value to an empty array will delete the entire property.  This is not the case for organizations. In order to delete the Organization on iOS each individual, supported property of the ContactOrganization object must be set to the empty string. 
> Need to research this a bit more before fixing as Contacts need a review and possible overhaul to bring up to the level of the latests W3C specification.    

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