Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-17700] CLI: Hitting the enter key after entering the data for CLI prompts in CLI setup wizard, does not take the cursor to next line

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionNot Our Bug
Resolution Date2014-09-16T06:31:13.000+0000
Affected Version/sRelease 3.4.0
Fix Version/sn/a
ComponentsCLI
Labelsqe-3.4.0
ReporterKhushbu Agrawal
AssigneeChris Barber
Created2014-09-16T05:44:47.000+0000
Updated2017-03-16T22:56:01.000+0000

Description

Description: While 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. The 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. Test machine details: Initially the system had the setup CLI 3.4.0-rc3 and titanium SDK 3.4.0.v20140915175720. Then, I have only switched CLI to CLI 3.3.0 version and titanium SDK remains the same 3.4.0.v20140915175720. Run the CLI "ti sdk select" command and faced the above mentioned issue with hitting the enter key. STEPS TO REPRODUCE: 1. 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. 2. Install the CLI 3.3.0 and ti SDK will remain the same as 3.4.0.v20140915175720. 3. Run "ti setup" command.Then CLI prompts for various options, then enter the data, hit enter key. 4. 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. 5. Run "ti login" command and enter the user name and hit the enter key. EXPECTED RESULT: 3. The cursor should go to next line and CLI will prompt for the next input data. 4. The required SDK configuration should be set. 5. The cursor moves to next line and CLI should prompt for the password. ACTUAL RESULT: 3. Hitting the enter key, triggers a space on terminal and not able to go to next prompt. 4. Hitting the enter key triggers a space and does not set the configured sdk. 5. Hitting the enter key does not take the cursor to next line for password prompt.Instead the enter key triggers a space on terminal. Please refer the attached screenshots. The issue is reproducible with other machines as well. I have uninstalled the CLI and all the titanium sdk versions installed on my system. Then freshly installed only titanium SDK 3.4.0.v20140915175720 and CLI 3.4.0-rc3. But still facing the same issue with hitting the enter key with the mentioned CLI commands.The enter key is still triggering the space.

Attachments

FileDateSize
Screen_Shot_ti_login.png2014-09-16T06:17:57.000+000028361
Screen_Shot_ti_sdk_select .png2014-09-16T06:18:15.000+000042508
Screen Shot 2014-09-16 at 1.43.48 PM.png2014-09-16T05:44:47.000+000053415

Comments

  1. Chris Barber 2014-09-16

    The problem was in the fields module and has been resolved. Please update your 3.4.0 CLI installation.
  2. Lee Morris 2017-03-16

    Closing ticket as this issue is not our bug.

JSON Source