{ "id": "106539", "key": "TIMOB-12104", "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": "15273", "description": "2013 Sprint 05 API", "name": "2013 Sprint 05 API", "archived": true, "released": true, "releaseDate": "2013-03-11" }, { "id": "14815", "description": "2013 Sprint 05", "name": "2013 Sprint 05", "archived": true, "released": true, "releaseDate": "2013-03-11" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-02-27T22:57:42.000+0000", "created": "2012-12-14T11:48:45.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "community", "exalture", "qe-testadded" ], "versions": [ { "id": "14613", "description": "Release 2.1.4", "name": "Release 2.1.4", "archived": true, "released": true, "releaseDate": "2012-11-12" }, { "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" } ], "issuelinks": [], "assignee": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "updated": "2014-06-19T12:42:40.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": "h3. Problem description\r\nWhen including a view that contains the property \"borderRadius\" in a ScrollableView, the app crashes.\r\n\r\nh3. Steps to reproduce\r\nCreate a scrollableView with a view containing the borderRadius property.\r\nApp crashes when opening and scrolling through views.\r\n\r\n{code}\r\nvar win = Titanium.UI.createWindow();\r\n\twin.backgroundColor = '#ccc';\r\n\t\r\n\t\r\n\tvar view1 = Ti.UI.createView({\r\n\t\tbackgroundColor:'red'\r\n\t});\r\n\tvar l1 = Ti.UI.createLabel({\r\n\t\ttext:'View 1',\r\n\t\tcolor:'#fff',\r\n\t\twidth:'auto',\r\n\t\theight:'auto'\r\n\t});\r\n\tview1.add(l1);\r\n\t\r\n\tvar view2 = Ti.UI.createView({\r\n\t\tbackgroundColor:'blue'\r\n\t});\r\n\tvar l2 = Ti.UI.createLabel({\r\n\t\ttext:'Click Me (View 2 - see log)',\r\n\t\tcolor:'#fff',\r\n\t\twidth:'auto',\r\n\t\theight:'auto'\r\n\t});\r\n\tview2.add(l2);\r\n\t\r\n\tvar view3 = Ti.UI.createView({\r\n\t\tbackgroundColor:'green',\r\n\t\tborderRadius:00\r\n\t});\r\n\tvar l3 = Ti.UI.createLabel({\r\n\t\ttext:'View 3',\r\n\t\tcolor:'#fff',\r\n\t\twidth:'auto',\r\n\t\theight:'auto'\r\n\t});\r\n\tview3.add(l3);\r\n\t\r\n\tvar view4 = Ti.UI.createView({\r\n\t\tbackgroundColor:'black'\r\n\t});\r\n\tvar l4 = Ti.UI.createLabel({\r\n\t\ttext:'View 4',\r\n\t\tcolor:'#fff',\r\n\t\twidth:'auto',\r\n\t\theight:'auto'\r\n\t});\r\n\tview4.add(l4);\r\n\t\r\n\t\r\n\tvar scrollView = Titanium.UI.createScrollableView({\r\n\t\tviews:[view1,view2,view3,view4],\r\n\t\tshowPagingControl:true,\r\n\t\tpagingControlHeight:30,\r\n\t\tmaxZoomScale:2.0,\r\n\t\tcurrentPage:1\r\n\t});\r\n\t\r\n\twin.add(scrollView);\r\n\r\nwin.open();\r\n{code}\r\n\r\n\r\nUsing TiSDK 2.1.4 GA the crash is immediate when launching the app.\r\nUsing TiSDK latest 3.1 CI, the app starts but it crashes with the same exception message after scrolling through views a few times.\r\n", "attachment": [ { "id": "34183", "filename": "app.js", "author": { "name": "guilleferrer", "key": "guilleferrer", "displayName": "Guillermo", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-12-14T11:48:45.000+0000", "size": 563, "mimeType": "text/javascript" }, { "id": "34195", "filename": "crashLog_scrollableview_Android.txt", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-12-15T00:11:53.000+0000", "size": 5940, "mimeType": "text/plain" } ], "flagged": false, "summary": "Android: view with borderRadius inside a ScrollableView crashes the App", "creator": { "name": "guilleferrer", "key": "guilleferrer", "displayName": "Guillermo", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Android tested: Galaxy Nexus 4.2.1\r\nTiSDK 2.1.4, 3.0, 3.1 CI", "comment": { "comments": [ { "id": "239556", "author": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "body": "pull request https://github.com/appcelerator/titanium_mobile/pull/3902\r\n\r\n", "updateAuthor": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-02-24T09:43:45.000+0000", "updated": "2013-02-24T09:43:45.000+0000" }, { "id": "241737", "author": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "body": "App remains stable and doesn't crash while scrolling.\r\n\r\nVerified on:\r\nDevice : Google Nexus, Android Version: 4.1\r\nSDK version: 3.1.0.v20130311192922\r\nCLI version : 3.0.24\r\nOS : MAC OSX 10.7.5\r\nXCode : 4.5.1\r\n", "updateAuthor": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-03-12T11:58:07.000+0000", "updated": "2013-03-12T11:58:07.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }