{ "id": "64015", "key": "TIMOB-3383", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2017-06-09T16:52:02.000+0000", "created": "2011-04-15T03:43:35.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "defect", "iphone", "reported-1.6.1" ], "versions": [], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-06-09T16:52:02.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": "If you forget to specify an event handler type (as in the example below), the application crashes and does not provide any feedback to the developer aside from an Objective-C stack trace in the console which does not indicate the source of the problem. Marking as high priority because this is very difficult for a developer to debug if they have made this typo. The corresponding error on Android provides a line number and an IllegalArgumentException, indicating that two arguments were expected, which is enough information to debug.\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor:'#fff'\r\n});\r\n\r\nvar v1 = Ti.UI.createView({\r\n height:150,\r\n width:200,\r\n backgroundColor:'red'\r\n});\r\nwin.add(v1);\r\n\r\nv1.addEventListener(function() { //note the lack of a 'click' argument first\r\n Ti.API.info('hello world!');\r\n});\r\n\r\nwin.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "Hard crash on syntax error", "creator": { "name": "kevinwhinnery", "key": "kevinwhinnery", "displayName": "kevinwhinnery", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "kwhinnery", "key": "kwhinnery", "displayName": "Kevin Whinnery", "active": true, "timeZone": "America/Chicago" }, "environment": null, "comment": { "comments": [ { "id": "130812", "author": { "name": "nderzhak", "key": "nderzhak", "displayName": "Nikolai Derzhak", "active": true, "timeZone": "America/Phoenix" }, "body": "rollback wrong update", "updateAuthor": { "name": "nderzhak", "key": "nderzhak", "displayName": "Nikolai Derzhak", "active": true, "timeZone": "America/Phoenix" }, "created": "2011-04-15T07:51:00.000+0000", "updated": "2011-04-15T07:51:00.000+0000" }, { "id": "421638", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket due to time passed, any problems please open a new ticket.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-06-09T16:52:02.000+0000", "updated": "2017-06-09T16:52:02.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }