{ "id": "118384", "key": "TIMOB-14838", "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" }, { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-06-05T20:24:40.000+0000", "created": "2013-08-12T22:00:05.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-3.1.2", "qe-3.3.0", "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" }, "inwardIssue": { "id": "118383", "key": "TIMOB-14837", "fields": { "summary": "BlackBerry: 'e.source' returns {object object} instead of the object name", "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-06-18T00:02:25.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\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 only get \r\n{code}\r\n{\"showVerticalScrollIndicator\":true,\"showHorizontalScrollIndicator\":true}\r\n{code}\r\nand not all the proporties of the object\r\n\r\nExpected Result:\r\n1. We should get all the proporties of the object\r\n", "attachment": [], "flagged": false, "summary": "BlackBerry: 'JSON.stringify(e.source)' does not return the properties of the object", "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", "closedSprints": [ { "id": 105, "state": "closed", "name": "2014 Sprint 11 SDK", "startDate": "2014-05-27T21:43:32.338Z", "endDate": "2014-06-07T00:00:00.000Z", "completeDate": "2014-06-09T21:36:37.587Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "271308", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium_mobile_blackberry/pull/175", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-09-16T17:26:31.000+0000", "updated": "2013-09-16T17:26:31.000+0000" }, { "id": "279100", "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'JSON.stringify(e.source)' returning all the properties of the object.\r\nUsed the above code to test.", "updateAuthor": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-12T10:49:33.000+0000", "updated": "2013-11-12T10:49:33.000+0000" }, { "id": "307427", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested environment\r\nMac osx 10.9.3 Mavericks\r\nAppcelerator Studio, build: 3.3.0.201405271647\r\nTitanium SDK, build: 3.3.0.v20140603032057 \r\nNode.JS Version: v0.10.13 \r\nNPM Version: 1.3.2 \r\nacs@1.0.14 \r\nalloy@1.4.0-beta \r\nnpm@1.3.2 \r\ntitanium@3.3.0-beta2 \r\ntitanium-code-processor@1.1.1\r\nDevice: BB Z10 (10.2.1)\r\n\r\nh5.Actual result\r\n{code}\r\n[INFO] [object ScrollViewContentViewProxy]\r\n[INFO] {}\r\n[INFO] {\"type\":\"click\",\"x\":112,\"y\":199,\"source\":{}}\r\n[INFO] [object ScrollViewContentViewProxy]\r\n[INFO] {}\r\n[INFO] {\"type\":\"click\",\"x\":121,\"y\":228,\"source\":{}}\r\n{code}\r\n\r\nh5. Expected\r\nShould display similar to this output\r\n{code}\r\n[INFO] [object ScrollView] \r\n[INFO] {\"contentWidth\":\"auto\",\"contentHeight\":\"auto\",\"showVerticalScrollIndicator\":true,\"showHorizontalScrollIndicator\":true,\"height\":\"80%\",\"width\":\"80%\",\"backgroundColor\":\"#336699\"} \r\n[INFO] {\"x\":357.20001220703125,\"y\":610.0999755859375,\"source\":{\"contentWidth\":\"auto\",\"contentHeight\":\"auto\",\"showVerticalScrollIndicator\":true,\"showHorizontalScrollIndicator\":true,\"height\":\"80%\",\"width\":\"80%\",\"backgroundColor\":\"#336699\"}}\r\n{code}", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-03T22:36:40.000+0000", "updated": "2014-06-03T22:36:40.000+0000" }, { "id": "307720", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium_mobile_blackberry/pull/263", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-06-05T20:24:40.000+0000", "updated": "2014-06-05T20:24:40.000+0000" }, { "id": "309478", "author": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed on:\r\nMac OSX 10.9.3\r\nAppcelerator Studio, build: 3.3.0.201406111953\r\nTitanium SDK, build: 3.3.0.v20140617161713\r\nTitanium CLI, build: 3.3.0-rc\r\nAlloy: 1.4.0-rc\r\nBlackBerry SDK, build: 10.2.0.1155\r\nBlackBerry Simulator: 10.3.0.440\r\nBlackBerry Device: 10.2.1.2947\r\n\r\nConsole Logs display:\r\n{code}\r\n[INFO] [object TiUIScrollViewProxy]\r\n[INFO] {\"contentWidth\":\"auto\",\"contentHeight\":\"auto\",\"showVerticalScrollIndicator\":true,\"showHorizontalScrollIndicator\":true,\"height\":\"80%\",\"width\":\"80%\",\"backgroundColor\":\"#336699\"}\r\n[INFO] {\"type\":\"click\",\"x\":158,\"y\":215,\"source\":{\"contentWidth\":\"auto\",\"contentHeight\":\"auto\",\"showVerticalScrollIndicator\":true,\"showHorizontalScrollIndicator\":true,\"height\":\"80%\",\"width\":\"80%\",\"backgroundColor\":\"#336699\"}}\r\n{code}\r\nClosing.", "updateAuthor": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-18T00:02:14.000+0000", "updated": "2014-06-18T00:02:14.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }