Bug 1394054 - Appliance Console Advanced Setting Odd Behavior
Summary: Appliance Console Advanced Setting Odd Behavior
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Appliance
Version: 5.7.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: GA
: 5.8.0
Assignee: Yuri Rudman
QA Contact: luke couzens
URL:
Whiteboard: black
: 1394457 (view as bug list)
Depends On:
Blocks: 1396488
TreeView+ depends on / blocked
 
Reported: 2016-11-10 22:24 UTC by myoder
Modified: 2017-06-12 16:28 UTC (History)
7 users (show)

Fixed In Version: 5.8.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1396488 (view as bug list)
Environment:
Last Closed: 2017-06-12 16:28:54 UTC
Category: Bug
Cloudforms Team: CFME Core
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1394457 0 unspecified CLOSED Appliance console 'q' (quit command) crashes appliance console 2021-02-22 00:41:40 UTC

Internal Links: 1394457

Description myoder 2016-11-10 22:24:34 UTC
Description of problem: Within appliance_console, when user is at the "Advanced Setting" section, the user is given a list of options (1-23) and a prompt "--press enter/return to continue or q to stop --".  User must press enter before they can enter a number, which feels counter intuitive.  Also the 23rd option is Quit, so I am confused why entering 'q' is necessary to exit the appliance_console in the first place.  

If the user inputs anything else, the user is unable to delete the input.  Once any invalid input is entered, the following is outputted:

~~~
Ambiguous choice.  Please choose one of [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12,13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, Set DHCP Network Configuration, Set Static Network Configuration, Test Network Configuration, Set Hostname, Set Timezone, Set Date and Time, Restore Database From Backup, Configure Database, Configure Database Replication, Configure Database Maintenance, Logfile Configuration, Configure Application Database Failover Monitor, Extend Temporary
Storage, Configure External Authentication (httpd), Update External Authentication Options, Generate Custom Encryption Key, Harden Appliance Using SCAP Configuration, Stop EVM Server Processes, Start EVM Server Processes, Restart Appliance, Shut Down Appliance, Summary Information, Quit].
?
~~~

Which appears unorganized to the user.

Version-Release number of selected component (if applicable):
CFME 5.7.0.10-beta3.20161109111947_9a61b18

How reproducible:
Always

Steps to Reproduce:
1. 
2.
3.

Actual results: User must hit enter first before they can input a selection.  If the wrong selection is chosen, an unorganized response is returned to the user.


Expected results: User should be able to enter their selection immediately when the Advanced Setting options are displayed.  When user enters incorrect input, an error message should be displayed, but the original prompt of options should be left instead of the garbled response that is displayed.


Additional info:

Comment 2 Yuri Rudman 2016-11-17 14:29:36 UTC
PR: https://github.com/ManageIQ/manageiq-gems-pending/pull/16

This PR removing extra prompt:  "--press enter/return to continue or q to stop --"

Please create enhancement request BZ for handling incorrect input.

Comment 3 Yuri Rudman 2016-11-17 14:35:07 UTC
*** Bug 1394457 has been marked as a duplicate of this bug. ***

Comment 5 luke couzens 2017-02-28 12:34:43 UTC
Verified in 5.8.0.2


Note You need to log in before you can comment on or make changes to this bug.