{ "id": "154531", "key": "TIMOB-20284", "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": "17706", "name": "Release 5.4.0", "archived": false, "released": true, "releaseDate": "2016-08-11" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-02-23T04:23:46.000+0000", "created": "2016-01-27T10:59:11.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "android", "scrollView" ], "versions": [ { "id": "17072", "name": "Release 5.1.2", "archived": false, "released": true, "releaseDate": "2016-01-12" } ], "issuelinks": [], "assignee": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-06-14T22:46:11.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": "\"insertAt\" works as expected with Windows and Views, but with Scroll View it causes the application to crash with an error like\r\ndalvikvm: threadid=1: thread exiting with uncaught exception (group=0x40bb0378)\r\n\r\nEx.\r\n{code:javascript}\r\nvar sview = Ti.UI.createScrollView{\r\n\tscrollType : 'vertical',\r\n\tlayout : 'vertical',\r\n\tshowVerticalScrollIndicator : true,\r\n\twidth : '100%'\r\n});\r\nvar item = new View({});\r\nsview.insertAt({view: item});\r\n{code}", "attachment": [], "flagged": false, "summary": "Android: Function insertAt on Scroll Views causes crash", "creator": { "name": "giokve", "key": "giokve", "displayName": "Giorgio Pagnoni", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "giokve", "key": "giokve", "displayName": "Giorgio Pagnoni", "active": true, "timeZone": "Europe/Berlin" }, "environment": "SDK version: 5.1.2.GA\r\nAppcelerator Studio, build: 4.4.0.201511241829\r\nAndroid Platform: 6.0\r\nOSX 10.11.3", "closedSprints": [ { "id": 574, "state": "closed", "name": "2016 Sprint 4 SDK", "startDate": "2016-02-13T01:33:48.415Z", "endDate": "2016-02-27T01:33:00.000Z", "completeDate": "2016-02-29T03:44:48.886Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "377554", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master PR: https://github.com/appcelerator/titanium_mobile/pull/7767", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-02-22T21:21:06.000+0000", "updated": "2016-02-22T21:21:06.000+0000" }, { "id": "377591", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "PR merged.", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2016-02-23T04:24:06.000+0000", "updated": "2016-02-23T04:24:06.000+0000" }, { "id": "388347", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix.\r\n{{insertAt()}} does not cause a crash & works as expected.\r\n\r\nClosing.\r\n\r\nEnvironment:\r\nAppc Studio : 4.6.0.201605201934\r\nTi SDK : 5.4.0.v20160608165242\r\nTi CLI : 5.0.8\r\nAlloy : 1.8.7\r\nMAC El Capitan : 10.11.4\r\nAppc NPM : 4.2.7-2\r\nAppc CLI : 5.4.0-15\r\nNode: 4.4.4\r\nNexus 6 - Android 6.0.0", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-06-14T22:45:54.000+0000", "updated": "2016-06-14T22:45:54.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }