{ "id": "62590", "key": "TIMOB-1958", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "11244", "name": "Release 1.7.0", "archived": true, "released": true, "releaseDate": "2011-06-13" }, { "id": "11246", "name": "Sprint 2011-11", "archived": true, "released": true, "releaseDate": "2011-03-21" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:57:39.000+0000", "created": "2011-04-15T03:06:30.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [ "contacts", "ios", "klist" ], "versions": [], "issuelinks": [], "assignee": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:57:39.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}

On 1.4.1 and 1.4.2 continuous builds I get a crash in the iPhone\nsimulator if I try to display an array of Titanium.Contacts.Person\nor just a single Titanium.Contacts.Person object.

\n

Example

\n
\n// This works\nvar peeps = Ti.Contacts.getAllPeople();\n\n// This crashes\nTi.API.info(peeps);\n
\n

BTW - This is also true of the Kitchen Sink app. Edit\ncontacts_db.js around line 7 and add a line to display a person\nwhile walking the array of contacts. It will crash immediately and\nif you remove the Ti.API.info it will work.

{html}", "attachment": [], "flagged": false, "summary": "Can't display Titanium.Contacts.Person with Ti.API.info", "creator": { "name": "johnmcknight(atyahoo)", "key": "johnmcknight(atyahoo)", "displayName": "johnmcknight (at yahoo)", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "johnmcknight(atyahoo)", "key": "johnmcknight(atyahoo)", "displayName": "johnmcknight (at yahoo)", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "127075", "author": { "name": "johnmcknight(atyahoo)", "key": "johnmcknight(atyahoo)", "displayName": "johnmcknight (at yahoo)", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Forgot to mention this. It crashes in 3.2 on the iPad and also\n4.1 on the iPhone.

{html}", "updateAuthor": { "name": "johnmcknight(atyahoo)", "key": "johnmcknight(atyahoo)", "displayName": "johnmcknight (at yahoo)", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:06:30.000+0000", "updated": "2011-04-15T03:06:30.000+0000" }, { "id": "127076", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Should be printing the -[TiProxy description] instead of\ncrashing.

{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:06:30.000+0000", "updated": "2011-04-15T03:06:30.000+0000" }, { "id": "127077", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [42a8c3893133671e0d98d55ab556ff24966d888f])\n[#2317 state:fixed-in-qa\nmilestone:\"Sprint-2011-11\"][#1849 state:fixed-in-qa\nmilestone:Sprint-2011-11][#1958 state:fixed-in-qa\nmilestone:Sprint-2011-11] Numerous fixes for crashers in Contacts.\n\nhttps://github.com/appcelerator/titanium_mobile/commit/42a8c3893133...

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:06:30.000+0000", "updated": "2011-04-15T03:06:30.000+0000" }, { "id": "127078", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

TESTING:

\n
{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:06:31.000+0000", "updated": "2011-04-15T03:06:31.000+0000" }, { "id": "127079", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Tested with Titanium SDK version: 1.7.0 (03/15/11 11:42 1f6dbfe)\non
\nSimulator 4.1
\niPad 3.2
\niPad2 4.3
\nEmulator 2.1
\nSamsung Galaxy 2.2

{html}", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:06:31.000+0000", "updated": "2011-04-15T03:06:31.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }