{ "id": "136638", "key": "TIMOB-17700", "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": "11", "description": "Is not a bug in our product", "name": "Not Our Bug" }, "resolutiondate": "2014-09-16T06:31:13.000+0000", "created": "2014-09-16T05:44:47.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-3.4.0" ], "versions": [ { "id": "15972", "description": "Release 3.4.0", "name": "Release 3.4.0", "archived": false, "released": true, "releaseDate": "2014-09-28" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2017-03-16T22:56:01.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": "Description:\r\n\r\nWhile doing some regression testing, I have come across an issue due to which I am unable to run number of CLI commands that takes input from user.\r\nThe issue is with hitting the enter key after giving the input data. Hitting the enter key will not take the cursor to next line.It is triggering a space on the terminal.Need to do CTR + c to come out of it.Hence not able to run some CLI commands like ti sdk select, ti setup, ti login etc. \r\n\r\nTest machine details:\r\nInitially the system had the setup CLI 3.4.0-rc3 and titanium SDK 3.4.0.v20140915175720.\r\nThen, I have only switched CLI to CLI 3.3.0 version and titanium SDK remains the same 3.4.0.v20140915175720.\r\nRun the CLI \"ti sdk select\" command and faced the above mentioned issue with hitting the enter key.\r\n\r\nSTEPS TO REPRODUCE:\r\n1. Install CLI 3.4.0-rc3 and titanium SDK 3.4.0.v20140915175720 on machine.The ti SDK is set to 3.4.0.v20140915175720 with CLI.\r\n2. Install the CLI 3.3.0 and ti SDK will remain the same as 3.4.0.v20140915175720.\r\n3. Run \"ti setup\" command.Then CLI prompts for various options, then enter the data, hit enter key.\r\n4. Run \"ti sdk select\" command and choose the required sdk and hit the enter key.Make sure you are having more than one ti SDK installed on your system.\r\n5. Run \"ti login\" command and enter the user name and hit the enter key.\r\n\r\nEXPECTED RESULT:\r\n3. The cursor should go to next line and CLI will prompt for the next input data.\r\n4. The required SDK configuration should be set.\r\n5. The cursor moves to next line and CLI should prompt for the password.\r\n\r\nACTUAL RESULT:\r\n3. Hitting the enter key, triggers a space on terminal and not able to go to next prompt.\r\n4. Hitting the enter key triggers a space and does not set the configured sdk.\r\n5. Hitting the enter key does not take the cursor to next line for password prompt.Instead the enter key triggers a space on terminal.\r\n\r\nPlease refer the attached screenshots.\r\nThe issue is reproducible with other machines as well.\r\n\r\nI have uninstalled the CLI and all the titanium sdk versions installed on my system.\r\nThen freshly installed only titanium SDK 3.4.0.v20140915175720 and CLI 3.4.0-rc3.\r\nBut still facing the same issue with hitting the enter key with the mentioned CLI commands.The enter key is still triggering the space.", "attachment": [ { "id": "51276", "filename": "Screen_Shot_ti_login.png", "author": { "name": "kagrawal", "key": "kagrawal", "displayName": "Khushbu Agrawal", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2014-09-16T06:17:57.000+0000", "size": 28361, "mimeType": "image/png" }, { "id": "51277", "filename": "Screen_Shot_ti_sdk_select .png", "author": { "name": "kagrawal", "key": "kagrawal", "displayName": "Khushbu Agrawal", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2014-09-16T06:18:15.000+0000", "size": 42508, "mimeType": "image/png" }, { "id": "51275", "filename": "Screen Shot 2014-09-16 at 1.43.48 PM.png", "author": { "name": "kagrawal", "key": "kagrawal", "displayName": "Khushbu Agrawal", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2014-09-16T05:44:47.000+0000", "size": 53415, "mimeType": "image/png" } ], "flagged": false, "summary": "CLI: Hitting the enter key after entering the data for CLI prompts in CLI setup wizard, does not take the cursor to next line", "creator": { "name": "kagrawal", "key": "kagrawal", "displayName": "Khushbu Agrawal", "active": true, "timeZone": "Asia/Shanghai" }, "subtasks": [], "reporter": { "name": "kagrawal", "key": "kagrawal", "displayName": "Khushbu Agrawal", "active": true, "timeZone": "Asia/Shanghai" }, "environment": "Tested on: \r\n1. Mac OSX 10.9.4 \r\n2. Appcelerator Studio, build: 3.4.0.201409131030\r\n3. Titanium SDK, build: 3.4.0.v20140915175720\r\n4. Titanium CLI, build: 3.4.0-rc3\r\n5. Alloy: 1.5.0-rc\r\n6. Xcode 6 GM seed\r\n7. iOS SDK 8.0\r\n", "closedSprints": [ { "id": 214, "state": "closed", "name": "2014 Sprint 19 Tooling", "startDate": "2014-09-15T20:19:33.669Z", "endDate": "2014-09-27T00:00:00.000Z", "completeDate": "2014-09-29T14:02:07.744Z", "originBoardId": 121 } ], "comment": { "comments": [ { "id": "323895", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "The problem was in the {{fields}} module and has been resolved.\r\n\r\nPlease update your 3.4.0 CLI installation.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-09-16T06:31:13.000+0000", "updated": "2014-09-16T06:31:13.000+0000" }, { "id": "413442", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as this issue is not our bug.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-16T22:56:01.000+0000", "updated": "2017-03-16T22:56:01.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }