{ "id": "114514", "key": "TIMOB-13903", "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": "21052", "description": "", "name": "Release 9.3.0", "archived": false, "released": true, "releaseDate": "2020-12-14" }, { "id": "21129", "name": "Release 9.2.2", "archived": false, "released": true, "releaseDate": "2020-10-29" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2020-10-28T17:25:59.000+0000", "created": "2013-05-17T09:17:33.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "TableView", "ios", "section" ], "versions": [ { "id": "14164", "description": "Release 3.0.2", "name": "Release 3.0.2", "archived": true, "released": true, "releaseDate": "2013-02-19" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [], "assignee": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-10-28T17:26:00.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": "*Summary:*\r\nReading a TableView's {{sectionCount}} property causes the app to crash.\r\n\r\n*Steps to reproduce:*\r\n# Build and run the below on iOS.\r\n# Notice the app crashes. No error dialog appears.\r\n\r\n{code:javascript}\r\nvar tableView = Ti.UI.createTableView({\r\n\tdata: [{ title: 'Row 1' }],\r\n});\r\nconsole.log('@@@ sectionCount: ' + tableView.sectionCount);\r\n{code}\r\n\r\n*Work-Around:*\r\nFetch the {{sections}} array and read its {{length}} property.\r\n{code:javascript}\r\nconsole.log('@@@ sectionCount: ' + tableView.sections.length);\r\n{code}\r\n", "attachment": [], "flagged": false, "summary": "iOS: Reading TableView's \"sectionCount\" property crashes app", "creator": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Macbook Pro, OSX 10.7.5\r\niOS Simulator v. 6.0 (369.2)\r\nTi: 3.0.2 GA, 3.1 GA and 3.2 CI", "closedSprints": [ { "id": 1208, "state": "closed", "name": "2020 Sprint 21", "startDate": "2020-10-12T16:34:00.000Z", "endDate": "2020-10-23T16:34:00.000Z", "completeDate": "2020-10-23T02:32:43.674Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "252605", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested and confirmed on iOS 6 simulator, Ti SDK 3.0.2, 3.1 GA and 3.2 CI.", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-17T18:13:55.000+0000", "updated": "2013-05-17T18:13:55.000+0000" }, { "id": "295057", "author": { "name": "o0o0o0o", "key": "o0o0o0o", "displayName": "Alexander Maiburg", "active": true, "timeZone": "Europe/Berlin" }, "body": "Any news on this issue. Would like to have it resolved...\r\n\r\nThanks, Alex", "updateAuthor": { "name": "o0o0o0o", "key": "o0o0o0o", "displayName": "Alexander Maiburg", "active": true, "timeZone": "Europe/Berlin" }, "created": "2014-02-28T09:48:52.000+0000", "updated": "2014-02-28T09:48:52.000+0000" }, { "id": "457288", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR (master): https://github.com/appcelerator/titanium_mobile/pull/12193", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-10-20T03:47:53.000+0000", "updated": "2020-10-20T03:47:53.000+0000" }, { "id": "457295", "author": { "name": "ssaddique", "key": "ssaddique", "displayName": "Sohail Saddique", "active": true, "timeZone": "Europe/London" }, "body": "FR Passed. PR merged.", "updateAuthor": { "name": "ssaddique", "key": "ssaddique", "displayName": "Sohail Saddique", "active": true, "timeZone": "Europe/London" }, "created": "2020-10-21T14:30:45.000+0000", "updated": "2020-10-21T14:30:45.000+0000" }, { "id": "457374", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix with SDK 9.2.2.v20201026120850.\r\nClosing.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-10-28T17:25:48.000+0000", "updated": "2020-10-28T17:25:48.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }