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.
Bug 1129226 - can not edit/delete hostgroup if it is created with single whitespace in quotes (" ")
Summary: can not edit/delete hostgroup if it is created with single whitespace in quot...
Keywords:
Status: CLOSED DUPLICATE of bug 1121755
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: WebUI
Version: 6.0.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: Unspecified
Assignee: Ohad Levy
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-08-12 10:55 UTC by Sachin Ghai
Modified: 2014-08-12 10:58 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-12 10:58:52 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
UI doesn't allow to delete/edit the hostgroup having singe whitespace in name (10.73 KB, image/png)
2014-08-12 10:55 UTC, Sachin Ghai
no flags Details

Description Sachin Ghai 2014-08-12 10:55:16 UTC
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)

Comment 1 Dominic Cleal 2014-08-12 10:58:52 UTC
" " 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 ***


Note You need to log in before you can comment on or make changes to this bug.