Bug 1263805

Summary: New Environment Path dialog off of 1C doesn't replace all the characters it needs to when generating a label out of a name
Product: Red Hat Quickstart Cloud Installer Reporter: Matt Reid <mreid>
Component: WebUIAssignee: jmagen <jmagen>
Status: CLOSED CURRENTRELEASE QA Contact: Dave Johnson <dajohnso>
Severity: unspecified Docs Contact:
Priority: high    
Version: 1.0CC: apagac, arubin, jmatthew, nperic
Target Milestone: TP2Keywords: Triaged
Target Release: 1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-03 19:21:56 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:
Bug Depends On:    
Bug Blocks: 1271370    
Attachments:
Description Flags
Bad label that it let me try to create none

Description Matt Reid 2015-09-16 18:33:10 UTC
Description of problem:
If you use special characters in the lifecycle environment name, most of them won't get replaced for underscores when it translates the name into a label, which means you can create a name that is valid, but at the same time, a label that is invalid. When you go to create the environment, it'll error out, complaining that the label has characters it doesn't like. 

That isn't something the user should have to worry about, especially when the system is doing the translation of the name into a label, and does it wrong, that's not the user's fault. 

Version-Release number of selected component (if applicable):
Tech Preview


Additional info:

Comment 1 Matt Reid 2015-09-16 18:34:07 UTC
Created attachment 1074161 [details]
Bad label that it let me try to create

Comment 2 jmagen@redhat.com 2015-10-15 07:23:46 UTC
Fixed 
https://github.com/fusor/fusor/pull/393

Comment 3 John Matthews 2015-11-02 16:56:28 UTC
Included in: ruby193-rubygem-fusor_ui-0.0.1-84.el7

Comment 4 Antonin Pagac 2016-01-12 12:39:57 UTC
Verified.

ruby193-rubygem-fusor_ui-0.0.1-98.el7.noarch
RHCI-6.0-RHEL-7-20160107.t.1-RHCI-x86_64-dvd1.iso