{ "id": "109823", "key": "TIMOB-12772", "fields": { "issuetype": { "id": "5", "description": "The sub-task of the issue", "name": "Sub-task", "subtask": true }, "parent": { "id": "109822", "key": "TIMOB-12771", "fields": { "summary": "CLI: Logging out after already being logged out throws error", "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" } }, "priority": { "name": "High", "id": "2" }, "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": "14164", "description": "Release 3.0.2", "name": "Release 3.0.2", "archived": true, "released": true, "releaseDate": "2013-02-19" }, { "id": "15279", "description": "2013 Sprint 05 JS", "name": "2013 Sprint 05 JS", "archived": true, "released": true, "releaseDate": "2013-03-11" }, { "id": "14815", "description": "2013 Sprint 05", "name": "2013 Sprint 05", "archived": true, "released": true, "releaseDate": "2013-03-11" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-03-04T23:30:53.000+0000", "created": "2013-02-16T06:24:10.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [ { "id": "25901", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "outwardIssue": { "id": "109822", "key": "TIMOB-12771", "fields": { "summary": "CLI: Logging out after already being logged out throws error", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2017-03-14T04:49:33.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": "13103", "name": "CLI", "description": "Node-based command line interface" } ], "description": "If you are already logged out, subsequent logout attempts throw the following error:\r\n\r\n{code}\r\n/Users/chris/appc/titanium/node_modules/node-appc/lib/analytics.js:181\r\n\t\t\tvar\tsessionCookie = status.cookie.match(/(PHPSESSID=[A-Za-z0-9]+)/),\r\n\t\t\t \t ^\r\nTypeError: Cannot call method 'match' of undefined\r\n at /Users/chris/appc/titanium/node_modules/node-appc/lib/analytics.js:181:38\r\n at async.parallel (/Users/chris/appc/titanium/node_modules/async/lib/async.js:476:17)\r\n at async.forEach (/Users/chris/appc/titanium/node_modules/async/lib/async.js:94:25)\r\n at async.parallel (/Users/chris/appc/titanium/node_modules/async/lib/async.js:473:21)\r\n at process.on.async.parallel.osinfo (/Users/chris/appc/titanium/node_modules/node-appc/lib/analytics.js:56:5)\r\n at module.exports.getOSInfo (/Users/chris/appc/titanium/node_modules/node-appc/lib/environ.js:215:4)\r\n at ChildProcess.exithandler (child_process.js:538:7)\r\n at ChildProcess.EventEmitter.emit (events.js:99:17)\r\n at maybeClose (child_process.js:638:16)\r\n at Socket.ChildProcess.spawn.stdin (child_process.js:815:11)\r\n{code}\r\n\r\nThis error was introduced when fixing the bug with apps not showing up in my.appcelerator.com [TIMOB-12653].", "attachment": [], "flagged": false, "summary": "Backport: CLI: Logging out after already being logged out throws error", "creator": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "environment": null, "comment": { "comments": [ { "id": "238796", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "3.0.X pull request: https://github.com/appcelerator/node-appc/pull/35", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-02-16T06:25:02.000+0000", "updated": "2013-02-16T06:25:02.000+0000" }, { "id": "411953", "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-14T04:49:33.000+0000", "updated": "2017-03-14T04:49:33.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }