{ "id": "111308", "key": "TIMOB-13098", "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": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "15280", "description": "2013 Sprint 06 JS", "name": "2013 Sprint 06 JS", "archived": true, "released": true, "releaseDate": "2013-03-25" }, { "id": "14816", "description": "2013 Sprint 06", "name": "2013 Sprint 06", "archived": true, "released": true, "releaseDate": "2013-03-25" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-03-18T18:51:11.000+0000", "created": "2013-03-18T13:33:42.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "regression" ], "versions": [], "issuelinks": [], "assignee": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-04-18T09:37:27.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": "11500", "name": "MobileWeb", "description": "Mobile Web (HTML) Platform" } ], "description": "*Reproduction steps:*\r\n\r\n Create a View and a ScrollView.\r\n Add the View to the ScrollView.\r\n Add the ScrollView to a Window.\r\n\r\n (or run the attached project)\r\n\r\n*Expected result:*\r\n\r\n Empty window with ScrollView will be shown.\r\n\r\n*Actual result:*\r\n\r\n TypeError: Result of expression 'value' [undefined] is not an object.\r\n\r\n*Additional information:*\r\n\r\n This sample was copied form the Titanium documentation.\r\n SDK 3.1.0.v20130306185542.\r\n All works fine with SDK 3.0.2.GA.\r\n\r\n*Code example:*\r\n\r\n{code}Titanium.UI.setBackgroundColor('#000');\r\n\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: 'white',\r\n exitOnClose: true,\r\n fullscreen: false,\r\n title: 'ScrollView Demo'\r\n});\r\n\r\nvar scrollView = Ti.UI.createScrollView({\r\n contentWidth: 'auto',\r\n contentHeight: 'auto',\r\n showVerticalScrollIndicator: true,\r\n showHorizontalScrollIndicator: true,\r\n height: '80%',\r\n width: '80%'\r\n});\r\n\r\nvar view = Ti.UI.createView({\r\n backgroundColor:'#336699',\r\n borderRadius: 10,\r\n top: 10,\r\n height: 2000,\r\n width: 1000\r\n});\r\n\r\nscrollView.add(view);\r\nwin.add(scrollView);\r\nwin.open();{code}", "attachment": [ { "id": "36383", "filename": "TestScrollView.zip", "author": { "name": "ypidstryhach_gl", "key": "ypidstryhach_gl", "displayName": "Yaroslav Pidstryhach", "active": true, "timeZone": "Europe/Helsinki" }, "created": "2013-03-18T13:33:42.000+0000", "size": 1553151, "mimeType": "application/zip" } ], "flagged": false, "summary": "MobileWeb: attempt to use ScrollView results in exception", "creator": { "name": "ypidstryhach_gl", "key": "ypidstryhach_gl", "displayName": "Yaroslav Pidstryhach", "active": true, "timeZone": "Europe/Helsinki" }, "subtasks": [], "reporter": { "name": "ypidstryhach_gl", "key": "ypidstryhach_gl", "displayName": "Yaroslav Pidstryhach", "active": true, "timeZone": "Europe/Helsinki" }, "environment": "SDK 3.1.0.v20130306185542.", "comment": { "comments": [ { "id": "242712", "author": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/3980", "updateAuthor": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-18T18:15:41.000+0000", "updated": "2013-03-18T18:15:41.000+0000" }, { "id": "248125", "author": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Working as expected , hence closing it.\r\n\r\nVerified on:\r\nSDK: 3.1.0.GA\r\nCLI version : 3.1.0-cr\r\nOS : MAC OSX 10.7.5\r\nTitanium Studio, build: 3.1.0.201304151600\r\nXCode : 4.5.1", "updateAuthor": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-04-18T09:37:27.000+0000", "updated": "2013-04-18T09:37:27.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }