{ "id": "81859", "key": "TIMOB-5835", "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": "12083", "description": "", "name": "Sprint 2011-43", "archived": true, "released": true, "releaseDate": "2011-10-31" }, { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-10-27T14:24:08.000+0000", "created": "2011-10-23T23:38:05.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_exceptions", "qe-testadded" ], "versions": [ { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" } ], "issuelinks": [], "assignee": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-19T12:43:26.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": "1) Create a new project and place the following in the app.js (notice the syntax error at line 7)\r\n{code}\r\nvar win = Ti.UI.createWindow({backgroundColor:'white'});\r\n\r\nvar img = Ti.UI.createImageView({image:'grouch.jpg'});\r\n\r\nwin.add(img);\r\n\r\nwin.orientationModes[]; //error\r\n\r\nwin.open();\r\n{code}\r\n2) Place grouch.png in Resources folder\r\n3) Launch the application\r\n\r\nResults: \r\nApplication Error: Parse error at app.js (line 1)\r\n\r\nError message shows an error at line 1, even though it is at line 7.\r\n\r\nNotes:\r\nThis was reproducible in 1.7.3.", "attachment": [ { "id": "23840", "filename": "grouch.jpg", "author": { "name": "avaghti", "key": "avaghti", "displayName": "Alan Vaghti", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-10-23T23:55:11.000+0000", "size": 52018, "mimeType": "image/jpeg" }, { "id": "23837", "filename": "parseError.png", "author": { "name": "avaghti", "key": "avaghti", "displayName": "Alan Vaghti", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-10-23T23:38:05.000+0000", "size": 77166, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: Application error message is not giving the correct line number of an error", "creator": { "name": "avaghti", "key": "avaghti", "displayName": "Alan Vaghti", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "avaghti", "key": "avaghti", "displayName": "Alan Vaghti", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "iPod 4.3.3, 1.8.0.v20111013161411, OSX 10.7.2, Titanium Studio build: 1.0.6.201110171921", "comment": { "comments": [ { "id": "172622", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with 1.8.0.1.v20111114102656 on\r\niPad 2 (4.3.5)\r\niPod Touch (4.0.2)\r\niPhone 4s (5.0)\r\nXoom 3.2.1", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-11-14T15:43:56.000+0000", "updated": "2011-11-14T15:43:56.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }