{ "id": "166885", "key": "TIMOB-24546", "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": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-04-26T18:00:05.000+0000", "created": "2017-03-31T10:07:18.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [ { "id": "19288", "name": "titanium 5.0.12", "archived": false, "released": true, "releaseDate": "2017-03-09" } ], "issuelinks": [], "assignee": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "updated": "2017-04-27T18:07:59.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "13103", "name": "CLI", "description": "Node-based command line interface" } ], "description": "h5.Description \r\n\r\nIf a titanium cli command plugin errors on load, the titanium cli will error as it is trying to access a property of an undefined object\r\n\r\nh5.Steps to reproduce\r\n\r\n# Download this repo https://github.com/ewanharris/TIMOB-24546\r\n# Add the command to the ti config -a \r\n# Run ti -h\r\n\r\nh5.Actual\r\n\r\ntitanium cli errors\r\n\r\nh5.Expected\r\n\r\ntitanium cli should not error", "attachment": [], "flagged": false, "summary": "CLI: Error thrown if CLI command plugin errors on load", "creator": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "subtasks": [], "reporter": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "environment": "Titanium: 5.0.12\r\nNode 6.9.5\r\nTi SDK: 6.1.0.v20170330151255", "comment": { "comments": [ { "id": "418194", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "PR: https://github.com/appcelerator/titanium/pull/261", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2017-04-27T18:07:59.000+0000", "updated": "2017-04-27T18:07:59.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }