[TIMOB-1958] Can't display Titanium.Contacts.Person with Ti.API.info
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Trivial |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:57:39.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.7.0, Sprint 2011-11 |
Components | iOS |
Labels | contacts, ios, klist |
Reporter | johnmcknight (at yahoo) |
Assignee | Reggie Seagraves |
Created | 2011-04-15T03:06:30.000+0000 |
Updated | 2011-04-17T01:57:39.000+0000 |
Description
On 1.4.1 and 1.4.2 continuous builds I get a crash in the iPhone simulator if I try to display an array of Titanium.Contacts.Person or just a single Titanium.Contacts.Person object.
Example
// This works
var peeps = Ti.Contacts.getAllPeople();
// This crashes
Ti.API.info(peeps);
BTW - This is also true of the Kitchen Sink app. Edit contacts_db.js around line 7 and add a line to display a person while walking the array of contacts. It will crash immediately and if you remove the Ti.API.info it will work.
Forgot to mention this. It crashes in 3.2 on the iPad and also 4.1 on the iPhone.
Should be printing the -[TiProxy description] instead of crashing.
(from [42a8c3893133671e0d98d55ab556ff24966d888f]) [#2317 state:fixed-in-qa milestone:"Sprint-2011-11"][#1849 state:fixed-in-qa milestone:Sprint-2011-11][#1958 state:fixed-in-qa milestone:Sprint-2011-11] Numerous fixes for crashers in Contacts. https://github.com/appcelerator/titanium_mobile/commit/42a8c3893133671e0d98d55ab556ff24966d888f"> https://github.com/appcelerator/titanium_mobile/commit/42a8c3893133...
TESTING:
Tested with Titanium SDK version: 1.7.0 (03/15/11 11:42 1f6dbfe) on
Simulator 4.1
iPad 3.2
iPad2 4.3
Emulator 2.1
Samsung Galaxy 2.2