Description of problem: In the Subscription section, user is permitted to create new Subscription management application without checking for invalid characters. The application with invalid characters actually gets created on the server, which may cause problems referencing it and deleting it. According to acces.redhat.com: "Name may only contain letters, numbers, period, underscore, or hyphen." Version-Release number of selected component (if applicable): RHCI-6.0-RHEL-7-20151118.t.0-RHCI-x86_64-dvd1.iso How reproducible: Always Steps to Reproduce: 1. Start a deployment 2. Go to Subscription section 3. Click on "New Subscription Management Application", input invalid characters 4. Application gets created. Check on access.redhat.com, it is there. Actual results: Subscription management application with invalid characters in the name gets created Expected results: RHCI UI checks for invalid characters, prints error; does not allow to continue Additional info:
https://github.com/fusor/fusor/pull/626 Invalid characters now displays an error message letting the user know the management application was not created.
Failed QA. I'm able to add application with invalid name: "apagac-%ˇˇ+$$'>*\(/| added successfully." RHCI-6.0-RHEL-7-20160114.t.0-RHCI-x86_64-dvd1.iso
Verified. RHCI-6.0-RHEL-7-20160122.t.1-RHCI-x86_64-dvd1.iso