{ "id": "103346", "key": "TIMOB-11476", "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": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "14165", "description": "2012 Sprint 21 API", "name": "2012 Sprint 21 API", "archived": true, "released": true, "releaseDate": "2012-10-22" }, { "id": "14273", "description": "2012 Sprint 21", "name": "2012 Sprint 21", "archived": true, "released": true, "releaseDate": "2012-10-22" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-12-21T05:14:28.000+0000", "created": "2012-10-13T21:12:00.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "api", "module_scrollview", "qe-ios100112", "qe-testadded", "regression" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [ { "id": "21988", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "103350", "key": "TIMOB-11477", "fields": { "summary": "iOS: Scrollview - App crash on launch ", "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 } } } }, { "id": "21989", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "103352", "key": "TIMOB-11479", "fields": { "summary": "iOS: Scrollview - An application crashes on launch", "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 } } } }, { "id": "22079", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "90423", "key": "TIMOB-8773", "fields": { "summary": "iOS: contentWidth is broken", "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": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2012-12-21T05:14:28.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": "An application's crash on launch in module scrollview.\r\n*It is regression, not happening in 2.1.3*\r\nTest steps:\r\n1.Run this code\r\n{code}\r\nvar scrollView = Ti.UI.createScrollView({\r\n contentWidth: 320,\r\n contentHeight: 'auto',\r\n layout: 'horizontal'\r\n});\r\n \r\nvar things = [\r\n 'item1',\r\n 'item2',\r\n 'item3',\r\n 'item4',\r\n 'item5',\r\n 'item6' ];\r\n \r\nfor (var i = 0; i < things.length; i++) {\r\n \r\n var view = Ti.UI.createView({\r\n height: 90,\r\n width: 140,\r\n top: 10,\r\n left: 10,\r\n backgroundColor: '#CCC'\r\n });\r\n \r\n scrollView.add(view);\r\n \r\n};\r\n \r\nvar win = Ti.UI.createWindow();\r\nwin.add(scrollView);\r\nwin.open();\r\n{code}\r\nActual result:\r\nApp crash\r\n\r\nExpected result:\r\nApp should not crash and \r\nthe 'views' added to scrollView should fall underneath each other, creating tiles going down the window.", "attachment": [], "flagged": false, "summary": "iOS: Crash on launch", "creator": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Tested on:\r\nTitanium Studio, build: 3.0.0.201210090117\r\nTitanium SDK, build: 3.0.0.v20121012174449\r\nDevices:\r\niPhone4 ios 5.1.1\r\niPhone5 ios 6.0", "comment": { "comments": [ { "id": "223457", "author": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "parent->child->parent loop on autoHeight calculations.", "updateAuthor": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-14T06:43:42.000+0000", "updated": "2012-10-14T06:43:42.000+0000" }, { "id": "223477", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "\nMaster PR https://github.com/appcelerator/titanium_mobile/pull/3225\n3_0_X PR https://github.com/appcelerator/titanium_mobile/pull/3226\n", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-10-14T16:03:42.000+0000", "updated": "2012-10-14T16:03:42.000+0000" }, { "id": "223507", "author": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "body": "CR & FR ", "updateAuthor": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-15T00:31:51.000+0000", "updated": "2012-10-15T00:31:51.000+0000" }, { "id": "224078", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as fixed.\nTested on:\nTitanium Studio, build: 3.0.0.201210151149\nTitanium SDK, build: 3.0.0.v20121017102440\nDevice:\niPhone5 ios 6.0\niPhone4s ios 6.0", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-17T21:53:39.000+0000", "updated": "2012-10-17T21:53:39.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }