{ "id": "130657", "key": "TIMOB-16992", "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": "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-05-20T06:21:53.000+0000", "created": "2014-05-20T06:04:05.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "defect", "module_blackberry", "qe-testadded" ], "versions": [ { "id": "15971", "description": "Release 3.2.3", "name": "Release 3.2.3", "archived": false, "released": true, "releaseDate": "2014-04-30" } ], "issuelinks": [ { "id": "37732", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "128423", "key": "TIMOB-16758", "fields": { "summary": "BlackBerry: KitchenSink: BaseUI > Views > Events Propogation; tapping on labels gives us \"you clicked on view\"", "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-19T12:43:56.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": "e.source.id is returning the id of the container on which event is attached.It should return the id of the child when the child is clicked. On iOS/android correct behavior is observed where as on BB it is not.\r\n\r\nSteps to reproduce:\r\n1. Copy paste the code in classic Project in app.js file and run the app.\r\n2. Click on child(green) view.\r\n\r\nActual Result:\r\nalert showing the id of the container is visible\r\n\r\nExpected Result:\r\nalert showing the id of the child should be visible\r\n\r\n{Code}\r\nvar win = Ti.UI.createWindow({layout: 'vertical'});\r\n \r\n\r\nvar containerView=Ti.UI.createView({\r\n\tid:'container',\r\n\ttop:200,\r\n\theight:200,\r\n\twidth:200,\r\n\tbackgroundColor:'red'\r\n});\r\n\r\nvar childView=Ti.UI.createView({\r\n\tid:'child',\r\n\ttop:50,\r\n\tbottom:50,\r\n\theight:100,\r\n\twidth:100,\r\n\tbackgroundColor:'green'\r\n});\r\n\r\ncontainerView.addEventListener('click',function(e){\r\n\talert('source id is:'+e.source.id);\r\n});\r\n\r\ncontainerView.add(childView);\r\n\r\nwin.add(containerView);\r\n \r\nwin.open();\r\n\r\n{Code}", "attachment": [ { "id": "48217", "filename": "BB.png", "author": { "name": "svarshney", "key": "svarshney", "displayName": "Sapan Varshney", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-20T06:04:06.000+0000", "size": 41000, "mimeType": "image/png" }, { "id": "48216", "filename": "iOS.png", "author": { "name": "svarshney", "key": "svarshney", "displayName": "Sapan Varshney", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-20T06:04:05.000+0000", "size": 59001, "mimeType": "image/png" } ], "flagged": false, "summary": "Blackberry : e.source.id returning the wrong source id", "creator": { "name": "svarshney", "key": "svarshney", "displayName": "Sapan Varshney", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "svarshney", "key": "svarshney", "displayName": "Sapan Varshney", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Appcelerator Studio Build: 3.2.3.201404181520\r\nSDK Build : 3.2.3 GA \r\nacs : 1.0.14\r\nalloy : 1.3.1\r\njitsu : 0.13.0\r\nnpm : 1.3.2\r\ntitanium : 3.2.3\r\ntitanium-code-processor : 1.1.0\r\nDevice: Blackberry Z10", "comment": { "comments": [ { "id": "305653", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "This is essentially a duplicate of TIMOB-16758\r\nThis has been fixed in 3.3.0 and cannot be back ported to 3.2.X", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-05-20T06:21:35.000+0000", "updated": "2014-05-20T06:21:35.000+0000" }, { "id": "305834", "author": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Mac OSX 10.9.3\r\nAppcelerator Studio, build: 3.3.0.201405161313\r\nTitanium SDK, build: 3.3.0.v20140520141136\r\nTitanium CLI, build: 3.3.0-alpha4\r\nAlloy:1.4.0-alpha2\r\nBlackBerry SDK, build: 10.2.0.1155\r\nBlackBerry Device: 10.2.1.2947\r\n\r\nUsed test case provided in description.\r\ne.source.id returns \"child\", the correct source id\r\nClosing.", "updateAuthor": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-21T00:10:01.000+0000", "updated": "2014-05-21T00:10:01.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }