{ "id": "65244", "key": "TIMOB-4043", "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": "11244", "name": "Release 1.7.0", "archived": true, "released": true, "releaseDate": "2011-06-13" }, { "id": "11255", "name": "Sprint 2011-20", "archived": true, "released": true, "releaseDate": "2011-05-23" }, { "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-05-19T00:13:22.000+0000", "created": "2011-05-11T16:31:13.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [ { "id": "11244", "name": "Release 1.7.0", "archived": true, "released": true, "releaseDate": "2011-06-13" }, { "id": "11254", "name": "Sprint 2011-19", "archived": true, "released": true, "releaseDate": "2011-05-16" } ], "issuelinks": [], "assignee": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2011-05-19T17:16:23.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "Reported by Jonathon Alter. When loading window from separate js file (IE: win-test.js) error is encountered due to not being able to find associated compiled JS. If dash is replace with underscore, error goes away.\n\nTRACE:\n\"D/KrollContext( 6199): (kroll$2: app://win-test.js) [1688,3277] Running pre-compiled script: win-test.js\nE/KrollContext( 6199): (kroll$2: app://win-test.js) [1,3278] Couldn't find pre-compiled class for script: win-test.js\nE/KrollContext( 6199): java.lang.ClassNotFoundException: com.appcelerator.pushtest.js.win-test\nE/KrollContext( 6199): \tat java.lang.Class.classForName(Native Method)\nE/KrollContext( 6199): \tat java.lang.Class.forName(Class.java:234)\nE/KrollContext( 6199): \tat java.lang.Class.forName(Class.java:181)\nE/KrollContext( 6199): \tat org.appcelerator.titanium.TiScriptRunner.runScript(TiScriptRunner.java:91)\nE/KrollContext( 6199): \tat \"\n\nNot sure exactly who this should belong to. Assigning to Don for reallocation.", "attachment": [], "flagged": false, "summary": "javascript files that contain a dash do not get compiled correctly when distributed and result in a error when loading within app.", "creator": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "environment": null, "comment": { "comments": [ { "id": "133938", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with Titanium SDK version: 1.7.0 (05/17/11 15:00 631e153) on \nEmulator 2.1\nNexus S 2.3.2", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-05-18T16:38:11.000+0000", "updated": "2011-05-18T16:38:11.000+0000" }, { "id": "133948", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Still encounter the error when doing distribution error:\n[ERROR] js: File \"win-test\" is not a valid class file name.", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-05-18T17:13:14.000+0000", "updated": "2011-05-18T17:13:14.000+0000" }, { "id": "133952", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Retested with Titanium SDK version: 1.7.0 (05/18/11 17:17 187fe3f), no error", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-05-18T17:19:17.000+0000", "updated": "2011-05-18T17:19:17.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }