{ "id": "103859", "key": "TIMOB-11568", "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": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-03-21T18:52:12.000+0000", "created": "2012-10-24T19:26:10.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-09T18:55:10.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": "12643", "name": "Anvil", "description": "Anvil" } ], "description": "Running anvil the first time is fine, but once \"/tmp/driver/logs/json_results\" has been created, when you run anvil a second time, \"wrench\" is undefined in \"localMode.js\".\r\n\r\n\r\nh4. Steps to repro:\r\n1. run an anvil test or suite 1x (I tested this with the ti.cloud module)\r\n2. once the test is complete, run the test again\r\n3. notice the error saying that \"wrench\" is undefined", "attachment": [], "flagged": false, "summary": "Anvil: wrench is undefined in localMode.js", "creator": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "224829", "author": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Pull Request: https://github.com/appcelerator/titanium_mobile/pull/3317", "updateAuthor": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-24T19:35:36.000+0000", "updated": "2012-10-24T19:35:36.000+0000" }, { "id": "242630", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "Would be awesome to get this in. At the moment it's not possible to run Anvil from a script. (The error occurs particularly when launching Anvil with \"--command...\" as opposed to in interactive mode.)", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-03-18T11:11:19.000+0000", "updated": "2013-03-18T11:11:19.000+0000" }, { "id": "243483", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "To reproduce this issue, I had to do the following:\n\n- Add 'this.customHarnessConfigDirs = [ \"./anvil/configSet\" ];' in your config.js\n- Clone the repo at https://github.com/appcelerator-modules/ti.cloud\n- Go into the ti.cloud/anvil directory\n- Run the command: 'node ~/titanium/titanium_mobile/anvil/driver/driver.js --mode=local --platform=ios --command=\"start\"'", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-21T18:51:15.000+0000", "updated": "2013-03-21T18:51:15.000+0000" }, { "id": "410331", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-09T18:55:10.000+0000", "updated": "2017-03-09T18:55:10.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }