Bug 987005

Summary: [otopi engine-setup-2] Consider more friendly message when user inserts invalid input
Product: [oVirt] otopi Reporter: Tareq Alayan <talayan>
Component: Plugins.dialogAssignee: Alon Bar-Lev <alonbl>
Status: CLOSED WONTFIX QA Contact: Ilanit Stein <istein>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: masterCC: acathrow, bazulay, dougsland, iheim, Rhev-m-bugs
Target Milestone: ---Flags: talayan: devel_ack?
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-22 20:08:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tareq Alayan 2013-07-22 15:10:54 UTC
Version-Release number of selected component (if applicable):
si6

How reproducible:
always

Steps to Reproduce:
1. run engine-setup-2
for any question that needs yes or no insert n or Y or y 

Actual results:
Do you wish to set ovirt-engine as default web server page? (Yes, No) [Yes]: Y
[ ERROR ] Invalid value



Expected results:
Please type 'yes' or 'no'

Additional info:

Comment 1 Alon Bar-Lev 2013-07-22 20:08:33 UTC
(In reply to Tareq Alayan from comment #0)
> Version-Release number of selected component (if applicable):
> si6
> 
> How reproducible:
> always
> 
> Steps to Reproduce:
> 1. run engine-setup-2
> for any question that needs yes or no insert n or Y or y 

abbreviations will not be supported.
we can convert yes, no to y, n if it is so important, however I don't think it is.

> Actual results:
> Do you wish to set ovirt-engine as default web server page? (Yes, No) [Yes]:
> Y
> [ ERROR ] Invalid value
> 
> 
> 
> Expected results:
> Please type 'yes' or 'no'

I think it is clear from the question what the valid values are and what is the default, there is no need for extra messages.

Thanks.