{ "id": "112040", "key": "TIMOB-13289", "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": "15398", "description": "2013 Sprint 07 JS", "name": "2013 Sprint 07 JS", "archived": true, "released": true, "releaseDate": "2013-04-08" }, { "id": "15105", "description": "2013 Sprint 07", "name": "2013 Sprint 07", "archived": true, "released": true, "releaseDate": "2013-04-08" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-04-01T17:12:27.000+0000", "created": "2013-04-01T17:09:14.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [], "assignee": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-16T20:57:41.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": "13102", "name": "Code Processor", "description": "Analyzes JavaScript source" } ], "description": "The this value for callbacks (e.g. in addEventListener) are currently set to global scope, but should be set to the object the callback was added to.", "attachment": [], "flagged": false, "summary": "CodeProcessor: The this value for callbacks is incorrect", "creator": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "258225", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Please provide test steps and sample code.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-17T19:04:54.000+0000", "updated": "2013-06-17T19:04:54.000+0000" }, { "id": "258258", "author": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Run the following sample code from the command line (cannot run from studio) using \"ti analyze -p iphone -A\":\n{code}\nvar win = Ti.UI.createWindow({\n backgroundColor: 'red'\n});\n\nwin.addEventListener('click', function () {\n console.log(this.backgroundColor);\n});\n{code}\n\nSift through the output to find a line that starts with \"[INFO] program output [log]:\". Without the fix, it will say \"[INFO] program output [log]: undefined\" but with the fix it will say \"[INFO] program output [log]: red\".", "updateAuthor": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-17T20:44:17.000+0000", "updated": "2013-06-17T20:44:17.000+0000" }, { "id": "412993", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-16T20:57:41.000+0000", "updated": "2017-03-16T20:57:41.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }