{ "id": "154201", "key": "TIMOB-20218", "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": [], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2016-01-11T01:59:17.000+0000", "created": "2016-01-09T14:26:01.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [], "issuelinks": [ { "id": "50247", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "153620", "key": "TIMOB-20138", "fields": { "summary": "Consecutive calls to ScrollableView.setViews causes the app to become unresponsive", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-21T17:00:18.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": "This worked prior to 5.1.1. When setting the views property of a scrollable, after it's already been set, causes the app to lock up.\r\n\r\n{code}\r\n\t\t\t$.interstitialAD = Ti.UI.createImageView({\r\n\t\t\t\tdefaultImage: \"\",\r\n\t\t\t\timage: 'someimage.png',\r\n\t\t\t\twidth: \"100%\",\r\n\t\t\t\theight: Ti.UI.SIZE\r\n\t\t\t});\r\n\r\n\t\t\t$.interstitialAD.addEventListener(\"click\", function(_event) {\r\n\t\t\t\tApp.openAD(_event.source.data);\r\n\t\t\t});\r\n\r\n\t\t\tvar views = $.scrollableView.views;\r\n\t\t\tviews.splice(1, 0, $.interstitialAD);\r\n\t\t\t$.scrollableView.views = views;\r\n{code}", "attachment": [], "flagged": false, "summary": "ScrollableView crash in 5.1.1 when setting the views property after it's been set", "creator": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "subtasks": [], "reporter": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "environment": null, "comment": { "comments": [ { "id": "374139", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-01-11T01:58:40.000+0000", "updated": "2016-01-11T01:58:40.000+0000" }, { "id": "414208", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-21T17:00:18.000+0000", "updated": "2017-03-21T17:00:18.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }