Description of problem: Trying to create and org/first env pair in Katello UI ends with improper message there when the org name contains dot like: "Sample Org Inc." (dev name: Dev) --- Validation Failed: Environment Cp key is invalid Environment Name cannot contain characters other than alpha numerals, space,'_', '-'. --- Version-Release number of selected component (if applicable): mod_wsgi-3.3-3.pulp.el6.x86_64 katello-common-0.2.15-1.git.0.16f633a.el6.noarch pulp-selinux-server-1.0.0-6.el6.noarch katello-repos-testing-0.2.1-1.el6.noarch katello-candlepin-cert-key-pair-1.0-1.noarch candlepin-0.5.26-1.el6.noarch candlepin-tomcat6-0.5.26-1.el6.noarch katello-certs-tools-1.1.3-1.el6.noarch qpid-cpp-server-0.12-6.el6.x86_64 katello-glue-foreman-0.2.15-1.git.0.16f633a.el6.noarch katello-0.2.15-1.git.0.16f633a.el6.noarch qpid-cpp-client-ssl-0.12-6.el6.x86_64 qpid-cpp-server-ssl-0.12-6.el6.x86_64 katello-cli-common-0.2.15-1.git.0.821013f.el6.noarch katello-cli-0.2.15-1.git.0.821013f.el6.noarch m2crypto-0.21.1.pulp-7.el6.x86_64 python-oauth2-1.5.170-2.pulp.el6.noarch pulp-common-1.0.0-6.el6.noarch qpid-cpp-client-0.12-6.el6.x86_64 katello-glue-pulp-0.2.15-1.git.0.16f633a.el6.noarch katello-selinux-0.2.3-1.git.57.6c5edb8.el6.noarch katello-qpid-client-key-pair-1.0-1.noarch katello-agent-1.0.3-1.git.0.cccd0b4.el6.noarch katello-cli-tests-0.2.5-1.git.0.58ae4b6.el6.noarch python-qpid-0.12-1.el6.noarch katello-glue-candlepin-0.2.15-1.git.0.16f633a.el6.noarch pulp-1.0.0-6.el6.noarch katello-repos-0.2.1-1.el6.noarch katello-configure-0.2.15-1.git.4.94aa90a.el6.noarch katello-qpid-broker-key-pair-1.0-1.noarch How reproducible: always Steps to Reproduce: 1.see above 2. 3. Actual results: wrong error related with incorrect environment name Expected results: right error message regarding to Org. Additional info:
i guess it's not a hard-fix and could be qe_ack-ed :)
easy fix, but was hiding :) 0b241dc967c2b1a7a8c4429b676e815bcab2a513 now an error from a period in the org name should say 'organization', while an error from a period in the env name should say 'environment'
# VERIFIED Fixed. an awesome "Validation Failed: Name cannot contain characters other than alpha numerals, space,'_', '-'." is shown on entering dot in environment/org name during creation. checked on: --- katello-1.1.12-12.el6cf.noarch katello-cli-1.1.8-6.el6cf.noarch
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2012-1543.html