{ "id": "92189", "key": "TIMOB-9198", "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": "10100", "description": "This issue won't be actioned.", "name": "Won't Do" }, "resolutiondate": "2020-01-10T18:07:53.000+0000", "created": "2012-05-22T18:26:01.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "core", "parity", "qe-ios050912" ], "versions": [ { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" }, { "id": "13273", "description": "Release 2.0.2", "name": "Release 2.0.2", "archived": false, "released": true, "releaseDate": "2012-05-31" }, { "id": "13272", "description": "Release 2.0.1", "name": "Release 2.0.1", "archived": true, "released": true, "releaseDate": "2012-04-16" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [], "assignee": null, "updated": "2020-01-10T18:07:53.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": "When a CommonJS require within a CommonJS require does not reference an existing file the app will crash.\r\n\r\nHowever, when a first-level CommonJS require does not reference an existing file, there will be an exception (expected).\r\n\r\nThis is not a regression. This is a parity issue as it does not affect Android (Emulator 2.2).\r\n\r\nFiles Attached: Studio Console Log, Xcode Console Log, Device Crash Log, Expected Screenshot\r\n\r\nSteps to Reproduce:\r\n\r\n1. Create a new app with the following files:\r\n\r\napp.js\r\n\r\n{code}\r\nrequire('other');\r\n{code}\r\n\r\nother.js\r\n\r\n{code}\r\nrequire('non-existent_file');\r\n{code}\r\n\r\n2. Run app.\r\n\r\nExpected Result:\r\n\r\nApp should run without crashing. A runtime exception should appear.\r\n\r\nActual Result:\r\n\r\nApp crashes on load.", "attachment": [ { "id": "27871", "filename": "expected.png", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-05-22T18:26:01.000+0000", "size": 136979, "mimeType": "image/png" }, { "id": "27872", "filename": "MyCrash_2012-05-22-180843_iPhone-4s-Verizon.crash", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-05-22T18:26:01.000+0000", "size": 27200, "mimeType": "application/octet-stream" }, { "id": "27873", "filename": "studio_console_log.txt", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-05-22T18:26:01.000+0000", "size": 630, "mimeType": "text/plain" }, { "id": "27874", "filename": "xcode_console_log.txt", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-05-22T18:26:01.000+0000", "size": 5987, "mimeType": "text/plain" } ], "flagged": false, "summary": "iOS: non-existent embedded require causes crash", "creator": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "SDK: 2.0.0, 2.0.1, 2.0.2.v20120518140206\r\nStudio: 2.0.2.201205212423\r\nOS: Snow Leopard\r\nDevices Tested: iPhone/iPad Simulator 5.0, iPhone4S 5.0.1\r\n", "comment": { "comments": [ { "id": "247248", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue reproduces \n\nTested with\n\nTitanium Studio, build: 3.0.1.201212181159\nTitanium SDK version: 3.1.0 \nTitanium SDK version: 3.0.2 \niOS iPhone Simulator: iOS SDK version: 6.0\n", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-12T06:58:06.000+0000", "updated": "2013-04-12T06:58:06.000+0000" }, { "id": "354067", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "This is still true in 4.0.0.GA and annoying when working with LiveView when you make a typo or add a require before adding the CommonJS itself and it crashes, requiring a new build.", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2015-06-02T08:17:48.000+0000", "updated": "2015-06-02T08:17:48.000+0000" }, { "id": "453655", "author": { "name": "ahutton", "key": "ahutton", "displayName": "Alan Hutton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This issue is out of date with our current supported SDK release (7.5.2.GA as of the date of closure), and out of date with mobile OS versions. \r\n\r\nIf community members feel that the issue is still valid, please create a new ticket. Please reference this closed ticket number, include SDK used, comments, and code that demonstrates/reproduces the issue.", "updateAuthor": { "name": "ahutton", "key": "ahutton", "displayName": "Alan Hutton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-01-10T18:07:53.000+0000", "updated": "2020-01-10T18:07:53.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }