[TIMOB-11833] The property "kind" of Ti.Contacts.createPerson causes exception on ios5.1 device
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2013-01-30T21:16:09.000+0000 |
Affected Version/s | n/a |
Fix Version/s | 2013 Sprint 03 API, 2013 Sprint 03 |
Components | iOS |
Labels | n/a |
Reporter | Qing Gao |
Assignee | Sabil Rahim |
Created | 2012-11-20T19:40:09.000+0000 |
Updated | 2013-11-07T18:22:00.000+0000 |
Description
Uncomment the line with "kind" and run it on an ios5.1 device will throw out exception.
var contact = Ti.Contacts.createPerson({
firstName : 'first',
lastName : 'last',
//kind : Ti.Contacts.CONTACTS_KIND_PERSON,
phone : {
'work' : [('111-222-3333')],
'mobile' : [('111-222-3333')]
},
email : {
'work' : [('foo@bar.com')]
}
});
Tried this with iPhone 4 and iPhone 4S running 4.3.5, 5.0.1 and 5.1.1 with latest master, 3_0_X CI and 3.0.0 GA. Could not reproduce the problem
Tested with: SDK:3.1.1.v20130509173053 Appcelerator Studio: 3.1.1.201305091152 OS: OSX 10.7.5 Device: iPad2(5.1) Cannot reproduce