{ "id": "110095", "key": "TIMOB-12840", "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": [], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-03-21T23:30:57.000+0000", "created": "2013-02-24T16:15:19.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-16T21:00:52.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "Blain discovered during his Kroll lecture on 2013.02.22 that [KrollObject invokeCallbackForKey] ignores the exception returned by TiObjectCallAsFunction (the final line of invokeCallbackForKey).\r\n\r\nThe fix should be to pass this information to crittercism.", "attachment": [], "flagged": false, "summary": "[KrollObject invokeCallbackForKey] ignores exception", "creator": { "name": "mlangston", "key": "mlangston", "displayName": "Matt Langston", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "mlangston", "key": "mlangston", "displayName": "Matt Langston", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "242815", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile/pull/3984", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-19T00:11:26.000+0000", "updated": "2013-03-19T00:11:26.000+0000" }, { "id": "243585", "author": { "name": "mlangston", "key": "mlangston", "displayName": "Matt Langston", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Functional Test passed. The functional test consisted of:\r\n\r\n# Create a Titanium Classic Default Project.\r\n# Add the following code (copied from [Titanium.Network.HTTPClient|http://docs.appcelerator.com/titanium/latest/#!/api/Titanium.Network.HTTPClient]) to the top of app.js, except that I added a \"throw ...\" statement to generate an event handler error.\r\n{noformat}\r\nvar url = \"http://www.appcelerator.com\";\r\nvar client = Ti.Network.createHTTPClient({\r\n\t// function called when the response data is available\r\n\tonload : function(e) {\r\n\t\tTi.API.info(\"Received text: \" + this.responseText);\r\n\t\tthrow new String(\"generate error to test timob-12840\");\r\n\t\talert('success');\r\n\t},\r\n\t// function called when an error occurs, including a timeout\r\n\tonerror : function(e) {\r\n\t\tTi.API.debug(e.error);\r\n\t\talert('error');\r\n\t},\r\n\ttimeout : 5000 // in milliseconds\r\n});\r\n{noformat}\r\n# Run the app in iOS simulator and observe the expected \"Application Error\" red screen.", "updateAuthor": { "name": "mlangston", "key": "mlangston", "displayName": "Matt Langston", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-21T23:29:29.000+0000", "updated": "2013-03-21T23:35:37.000+0000" }, { "id": "243587", "author": { "name": "mlangston", "key": "mlangston", "displayName": "Matt Langston", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Functional Test passed - see previous comment for details.", "updateAuthor": { "name": "mlangston", "key": "mlangston", "displayName": "Matt Langston", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-21T23:30:57.000+0000", "updated": "2013-03-21T23:30:57.000+0000" }, { "id": "413016", "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-16T21:00:52.000+0000", "updated": "2017-03-16T21:00:52.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }