Hide Forgot
Description of problem: execute `environment create --name Dev1 --org ACME_Corporation --prior=Locker` two times On the second execution error is returning back: --- Validation failed: Environments is invalid --- Version-Release number of selected component (if applicable): katello-0.1.135-2.el6.x86_64 katello-cli-0.1.23-3.el6.noarch candlepin-0.5.4-1.el6.noarch pulp-0.0.254-4.el6.noarch How reproducible: always Steps to Reproduce: 1. see above 2. 3. Actual results: error like "Validation failed: Environments is invalid" Expected results: a message telling user about environment name already taken or so. Additional info:
fixed in 52e93499e123243cf3d800b21472790bea9e622d
verified with following katello build: katello-0.2.35-1.el6.noarch Error message is improved now, following message appeared when we can create duplicate env: katello> environment create --name test --prior Library --org ACME_Corporation Successfully created environment [ test ] katello> environment create --name test --prior Library --org ACME_Corporation Validation failed: Name must be unique within one organization
Moving all community bugs with fixes to closed.