Bug 1389809

Summary: Error for adding invalid SMA does not include .-_ as valid characters.
Product: Red Hat Quickstart Cloud Installer Reporter: James Olin Oden <joden>
Component: WebUIAssignee: John Matthews <jmatthew>
Status: NEW --- QA Contact: Sudhir Mallamprabhakara <smallamp>
Severity: low Docs Contact:
Priority: unspecified    
Version: 1.1CC: qci-bugzillas, tsanders
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description James Olin Oden 2016-10-28 17:36:09 UTC
Description of problem:
If you go to the "Subscriptions:Subscription Management Application" screen and try to add an SMA with invalid characters the error will be:

  Invalid application name, should contain alphanumeric characters with no whitespace.

However it is legal to dad these characters:  .-_

The error message should include these.

Version-Release number of selected component (if applicable):
QCI-1.1-RHEL-7-20161026.t.0

How reproducible:
always

Steps to Reproduce:
1. Create a new deployment and work your way to the "Subscriptions:Subscription Management Application" screen.
2. Click "New Subscription Management Application"
3. Enter an invalid name such as @somewhere and click submit.

Actual results:
The following error appears: 

   Invalid application name, should contain alphanumeric characters with no whitespace.

Expected results:
An error that also mentioned the characters ._- as being valid.