{ "id": "168406", "key": "TIMOB-24822", "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": "18414", "description": "", "name": "Release 6.2.0", "archived": false, "released": true, "releaseDate": "2017-09-13" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-06-26T23:29:39.000+0000", "created": "2017-06-14T21:50:39.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-07-20T18:44: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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "- TableView with sections will throw an error on Android N\r\n\r\n{code:js}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: 'gray',\r\n layout: 'vertical'\r\n }),\r\n tv = Ti.UI.createTableView({\r\n headerTitle: 'TableView',\r\n data: [\r\n {\r\n title: 'Apples',\r\n hasChild: true\r\n }, {\r\n title: 'Bananas'\r\n }\r\n ],\r\n height: Ti.UI.SIZE\r\n }),\r\n ls = Ti.UI.createListSection({\r\n headerTitle: 'ListView'\r\n }),\r\n lv = Ti.UI.createListView({\r\n height: Ti.UI.SIZE\r\n });\r\n\r\nls.setItems([\r\n {\r\n properties: {\r\n title: 'Apples',\r\n accessoryType: Ti.UI.LIST_ACCESSORY_TYPE_CHECKMARK\r\n }\r\n }, {\r\n properties: {\r\n title: 'Bananas',\r\n accessoryType: Ti.UI.LIST_ACCESSORY_TYPE_DETAIL\r\n }\r\n }\r\n]);\r\nlv.sections = [ls];\r\n\r\nwin.add(tv);\r\nwin.add(lv);\r\nwin.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "Android: TableView with sections will error on Android N", "creator": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 917, "state": "closed", "name": "2017 Sprint 13 SDK", "startDate": "2017-06-18T16:14:35.902Z", "endDate": "2017-07-02T16:14:00.000Z", "completeDate": "2017-07-06T23:53:22.101Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "422013", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master: https://github.com/appcelerator/titanium_mobile/pull/9144", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-06-14T22:28:07.000+0000", "updated": "2017-06-14T22:28:07.000+0000" }, { "id": "424464", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fix in SDK Version: 6.2.0.v20170719160617. Test and other information can be found at:\r\nhttps://github.com/appcelerator/titanium_mobile/pull/9144 ", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-07-20T18:43:48.000+0000", "updated": "2017-07-20T18:43:48.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }