Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Created attachment 926022[details]
UI doesn't allow to delete/edit the hostgroup having singe whitespace in name
Description of problem:
I was trying to create hostgroup with single white space in quotes (" ")and it was created successfully. But when I tried to edit or delete it, UI says:
---
Host Group Not Found
Please try to update your request
---
Version-Release number of selected component (if applicable):
sat6 GA snap4
How reproducible:
always
Steps to Reproduce:
1. create hostgroup with single whitespace in name
2.
3.
Actual results:
Hostgroup created successfully but when I tried to delete/edit it, UI says:
---
Host Group Not Found
Please try to update your request
---
Expected results:
1. User shouldn't be allowed to create hostgroup with single whitespace
Additional info:
production.log:
Processing by HostgroupsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"8YKMIr6xgzHyJpwH0LC3VbHzoQSwOk+VOG2XoH0FhiE=", "hostgroup"=>{"parent_id"=>"", "name"=>"\"\"", "environment_id"=>"", "content_source_id"=>"", "puppet_ca_proxy_id"=>"", "puppet_proxy_id"=>"", "domain_id"=>"", "realm_id"=>"", "architecture_id"=>"", "root_pass"=>"[FILTERED]", "location_ids"=>[""], "organization_ids"=>[""]}, "kt_environment_id"=>"", "kt_activation_keys"=>"", "commit"=>"Submit"}
Redirected to https://qetello02.usersys.redhat.com/hostgroups
Completed 302 Found in 35ms (ActiveRecord: 7.4ms)
" " is not blank, it's two quotes. Bug #1121755 tracks fixing the edit/delete action for these.
*** This bug has been marked as a duplicate of bug 1121755 ***