Re: codova-mobile-spec test case contacts.spec.21

2013-07-15 Thread Ian Clelland
Sorry for bringing this up really late -- We discovered that issue as well; the code was previously implemented for iOS, so we concluded that the test was correct, and the Android implementation was just lacking support. It was logged as CB-4084, and David fixed it last week for 3.0.0. Ian On

Re: codova-mobile-spec test case contacts.spec.21

2013-07-02 Thread Simon MacDonald
If you set the email address to an empty string it should be removed from the contact. For some crazy reason the W3C API didn't provide a method/way to delete an email address, phone number, etc. So the convention for deleting an entry like an email address is to set it to the empty string. If tha

Re: codova-mobile-spec test case contacts.spec.21

2013-07-02 Thread Filip Maj
Great question, I have no idea myself! My guess is the test is incorrect.. Looking into git blame, looks like that test code has existed for almost a year and a half :s I imagine instead of setting the email to the empty string, the second email would be entirely removed. On 7/1/13 11:17 PM, "Sm

codova-mobile-spec test case contacts.spec.21

2013-07-01 Thread Smith, Peter
I'm trying to understand the cordova-mobile-spec test case "contacts.spec.21 update a contact". This test case clearly expects that saving over a contact email with an empty string will remove that email. But I didn't see any mention of this kind of functionality in the cordova documentati