[TIMOB-2097] iOS: Passing in a null as secondary delete row argument causes crash.
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Trivial |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2011-04-17T01:58:05.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 1.5.0 |
| Components | iOS |
| Labels | crash, defect, ios, tableview |
| Reporter | Thomas Huelbert |
| Assignee | Blain Hamon |
| Created | 2011-04-15T03:10:23.000+0000 |
| Updated | 2011-04-17T01:58:05.000+0000 |
Description
steps and test case to follow, for tracking.
To recreate, call a command like "TableView.deleteRow(0, null);"
The error on the exception will contain "-[NSNull objectForKey:]: unrecognized selector sent to instance"
(from [409a4d08e484f83a83255cae327fea80dca9e22c]) [#2097 state:fixed-in-qa] We now ensure that a property dictionary is actually a dictionary, not just non-nil. http://github.com/appcelerator/titanium_mobile/commit/409a4d08e484f83a83255cae327fea80dca9e22c"> http://github.com/appcelerator/titanium_mobile/commit/409a4d08e484f...
3.2.2 ipad device, 4.1 ipod touch mobile sdk build 1.5.0.62c1cae