{ "id": "118383", "key": "TIMOB-14837", "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": "15691", "description": "2013 Sprint 19", "name": "2013 Sprint 19", "archived": true, "released": true, "releaseDate": "2013-09-20" }, { "id": "15693", "description": "2013 Sprint 19 API", "name": "2013 Sprint 19 API", "archived": true, "released": true, "releaseDate": "2013-09-20" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-09-17T00:01:45.000+0000", "created": "2013-08-12T21:56:56.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-3.1.2", "qe-nfc", "qe-testadded" ], "versions": [ { "id": "15479", "description": "Release 3.1.2", "name": "Release 3.1.2", "archived": true, "released": true, "releaseDate": "2013-07-31" } ], "issuelinks": [ { "id": "31390", "type": { "id": "10011", "name": "Includes", "inward": "is included by", "outward": "includes" }, "outwardIssue": { "id": "118384", "key": "TIMOB-14838", "fields": { "summary": "BlackBerry: 'JSON.stringify(e.source)' does not return the properties of the object", "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": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2014-02-19T23:44:03.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": "10230", "name": "BlackBerry", "description": "BlackBerry Platform" } ], "description": "Description:\r\n1. Create a default app for BB & replace the code in the app.js with the code below:\r\n{code}\r\n\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: 'white',\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 backgroundColor:'#336699'\r\n});\r\n \r\nscrollView.addEventListener('click',function(e){\r\n Ti.API.info(e.source);\r\n Ti.API.info(JSON.stringify(e.source));\r\n Ti.API.info(JSON.stringify(e));\r\n});\r\nwin.add(scrollView);\r\nwin.open();\r\n{code}\r\n2. Build & run on BB device/simulator\r\n3. On the app launch tap on the scrollview & observe the studio console\r\n\r\nActual Results:\r\n1. We get {object object} rather than the object name\r\n\r\nExpected Result:\r\n1. We should get the object name Ti.UI.scrollview", "attachment": [], "flagged": false, "summary": "BlackBerry: 'e.source' returns {object object} instead of the object name", "creator": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Environment:\r\nAppcel Studio : 3.1.2.201308082014\r\nTi SDK : 3.1.2.v20130809141556\r\nMac OSX : 10.8.4\r\nAlloy : 1.2.0-alpha6\r\nCLI - 3.1.2-alpha\r\nwin 7 \r\nWin 8 \r\nZ10 BB simulator : 10.0.10.822\r\nZ10 device running 10.0.10.88\r\n\r\nQ10 Simulator : 10.1.0.1720\r\nQ10 Dev alpha C device running 10.1.0.138", "comment": { "comments": [ { "id": "271293", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium_mobile_blackberry/pull/174", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-09-16T16:27:07.000+0000", "updated": "2013-09-16T16:27:07.000+0000" }, { "id": "279101", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested Environment:\r\n\r\nAppcelerator Studio: 3.2.0.201311120707\r\nSDK:3.2.0.v20131111174605\r\nalloy: 1.3.0\r\nacs: 1.0.7\r\nnpm: 1.3.2\r\ntitanium: 3.2.0\r\ntitanium-code-processor: 1.0.3\r\nXcode:5.0.1\r\nDevice: Blackeberry Z 10\r\nOS: Mac OSX 10.9\r\n\r\n'e.source' returns object name.\r\n\r\nClosing as fixed.\r\nWorking as expected.", "updateAuthor": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-12T10:53:38.000+0000", "updated": "2013-11-12T10:53:38.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }