{ "id": "168487", "key": "TIMOB-24848", "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-07-27T13:16:16.000+0000", "created": "2017-06-19T11:57:10.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "17608", "name": "Release 6.1.0", "archived": false, "released": true, "releaseDate": "2017-05-26" } ], "issuelinks": [ { "id": "55270", "type": { "id": "10122", "name": "Gantt: start-finish", "inward": "is triggered by", "outward": "is triggering" }, "inwardIssue": { "id": "168425", "key": "TIMOB-24831", "fields": { "summary": "Windows: Layout does not seem to consider left and right properties", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-08-14T11:13:34.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": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "- Creating a template View with {{left}} and {{right}} properties defined causes a crash when more than two items are added to the list\r\n\r\n{code:js}\r\nvar win = Ti.UI.createWindow({ backgroundColor: 'white' }),\r\n list = Ti.UI.createListView({\r\n templates: {\r\n template: {\r\n childTemplates: [\r\n {\r\n type: 'Ti.UI.Label',\r\n bindId: 'title',\r\n properties: {\r\n left: '5dp',\r\n right: '5dp'\r\n }\r\n }\r\n ]\r\n }\r\n },\r\n defaultItemTemplate: 'template'\r\n }),\r\n section = Ti.UI.createListSection(),\r\n items = [];\r\n\r\nfor (var i = 0; i < 3; i++) {\r\n items.push({\r\n title: { text: 'TEXT' }\r\n });\r\n}\r\nsection.setItems(items);\r\nlist.setSections([section]);\r\n\r\nwin.add(list);\r\nwin.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "Windows: ListView template with left and right defined causes crash", "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": 925, "state": "closed", "name": "2017 Sprint 15 SDK", "startDate": "2017-07-16T14:40:47.191Z", "endDate": "2017-07-30T14:40:00.000Z", "completeDate": "2017-07-31T16:15:09.335Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "423112", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile_windows/pull/1025", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-06-29T03:36:15.000+0000", "updated": "2017-06-29T03:36:15.000+0000" }, { "id": "424882", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "6_2_X backport merged in https://github.com/appcelerator/titanium_mobile_windows/pull/1048 \r\n\r\nAwaiting the build before closing", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2017-07-27T13:17:00.000+0000", "updated": "2017-07-27T13:17:00.000+0000" }, { "id": "426605", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Verified in 6.2.0.v20170811022027", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2017-08-14T11:13:34.000+0000", "updated": "2017-08-14T11:13:34.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }