{ "id": "84846", "key": "TIMOB-7165", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": null, "resolutiondate": null, "created": "2012-01-12T22:41:50.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "tbs-1.9.0" ], "versions": [], "issuelinks": [ { "id": "14537", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "84603", "key": "TISTUD-1001", "fields": { "summary": "Do a better job of helping when an app crashes (during development)", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2015-04-13T20:10:06.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10207", "name": "Tooling" } ], "description": "During development, a Titanium mobile application might encounter a fatal error, such as a missing or malformed JavaScript file. Our goal is to alert the user in as informative way as possible where the issue is (and eventually suggest a fix).\r\n\r\nAs a first step, when an application encounters such an error, we would like the app to write out a console message similar to:\r\n\r\n[FATAL] Error Description app://path/to/file.js:85\r\n\r\nThis would be similar (or identical to) similar messages written during debugging, with an ap-relative path to the file, and a line #.\r\n\r\nOnce we have this message, we can tune Studio to look for it and act upon it.", "attachment": [], "flagged": false, "summary": "When an app experiences a JavaScript crash, write a [FATAL] error to the log/console", "creator": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "179169", "author": { "name": "ivan.skugor", "key": "ivan.skugor", "displayName": "Ivan Skugor", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "Information on which line of code error occurred would be nice to have.", "updateAuthor": { "name": "ivan.skugor", "key": "ivan.skugor", "displayName": "Ivan Skugor", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2012-01-13T00:53:50.000+0000", "updated": "2012-01-13T00:53:50.000+0000" }, { "id": "179172", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Thank you for reminding me. I had forgotten the line number as part of the message.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-13T05:45:48.000+0000", "updated": "2012-01-13T05:45:48.000+0000" }, { "id": "179188", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "For both Android and iOS, this is only going to be available when the JS itself causes an issue, not when there's an internal error due to improper use of classes (we can't track line numbers there, or call back to the system to get the line number).", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-13T09:01:22.000+0000", "updated": "2012-01-13T09:01:22.000+0000" }, { "id": "179189", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Will we know at least the file that caused the problem?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-13T09:17:44.000+0000", "updated": "2012-01-13T09:17:44.000+0000" }, { "id": "179196", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "We might be able to track that information, but that could be tricky for things like cross-context callbacks on iOS.", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-13T10:22:28.000+0000", "updated": "2012-01-13T10:22:28.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }