Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-819] Saving contact with e-mail or phone set crashes application

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:54:20.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.4.0
ComponentsiOS
Labelscontacts, ios, iphone, mobilesdk
ReporterNick Wing
AssigneeReggie Seagraves
Created2011-04-15T02:37:08.000+0000
Updated2011-04-17T01:54:20.000+0000

Description

The following causes application to crash. (mobilesdk 1.2.0)

var contact = Ti.Contacts.createContact();
contact.firstName = 'Nick';
contact.lastName = 'Wing';
contact.email = 'email@domain.tld'; // either of these will crash it
contact.phone = '5125551212'; // either of these will crash it
contact.save();

Comments

  1. Stephen Tramer 2011-04-15

    This should be fixed under the new contacts implementation. Documentation should be released with 1.4 describing how to use the new email/address/etc. properties, which now use the appropriate multivalue format.

JSON Source