Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11833] The property "kind" of Ti.Contacts.createPerson causes exception on ios5.1 device

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionCannot Reproduce
Resolution Date2013-01-30T21:16:09.000+0000
Affected Version/sn/a
Fix Version/s2013 Sprint 03 API, 2013 Sprint 03
ComponentsiOS
Labelsn/a
ReporterQing Gao
AssigneeSabil Rahim
Created2012-11-20T19:40:09.000+0000
Updated2013-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')] } });

Comments

  1. Vishal Duggal 2013-01-30

    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
  2. Anshu Mittal 2013-05-10

    Tested with: SDK:3.1.1.v20130509173053 Appcelerator Studio: 3.1.1.201305091152 OS: OSX 10.7.5 Device: iPad2(5.1) Cannot reproduce

JSON Source