{ "id": "103350", "key": "TIMOB-11477", "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": "2012-10-14T06:45:27.000+0000", "created": "2012-10-13T21:33:05.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "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" }, "outwardIssue": { "id": "103346", "key": "TIMOB-11476", "fields": { "summary": "iOS: 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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "22084", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "90821", "key": "TIMOB-8875", "fields": { "summary": "iOS: View SIZE - some child views are not shown when view.width = Ti.UI.SIZE", "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": "2014-06-19T12:44:33.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 crashes on launch.\r\nTested module Scrollview.\r\n*it is a regression, works as expected in 2.1.3*\r\nTest steps:\r\n1. Run the code below:\r\n{code}\r\nvar win = Ti.UI.createWindow({backgroundColor:'white'});\r\nwin.open();\r\n \r\nvar scrollView = Ti.UI.createScrollView({\r\n contentWidth: 2000,\r\n backgroundColor: 'black',\r\n layout: 'horizontal'\r\n});\r\nwin.add(scrollView);\r\n \r\nvar view1 = Ti.UI.createView({\r\n backgroundColor: 'blue',\r\n height: 400,\r\n // for 2.0\r\n width: Ti.UI.SIZE,\r\n // for 1.8\r\n // width: 'auto',\r\n layout: 'horizontal'\r\n});\r\nscrollView.add(view1);\r\n \r\nfor(var i = 0, j = 20; i < j; i++){\r\n view1.add(Ti.UI.createView({\r\n backgroundColor: 'red',\r\n width: 100,\r\n height: 400,\r\n left: 40\r\n }));\r\n}\r\n{code}\r\nActual result:\r\nCrash.\r\nExpected result:\r\nNo crash, and a window opens with vertical red views ", "attachment": [], "flagged": false, "summary": "iOS: Scrollview - App 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\niPad3 ios 5.1\r\niPhone4 ios 5.1.1\r\niPad3 ios 6.0\r\niPhone5 ios 6.0", "comment": { "comments": [ { "id": "224087", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as Duplicate", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-17T22:12:02.000+0000", "updated": "2012-10-17T22:12:02.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }