Bug 1079169

Summary: Adding new filter with an existing name neither save the form nor raises any error on UI
Product: Red Hat Satellite Reporter: Sachin Ghai <sghai>
Component: WebUIAssignee: Brad Buckingham <bbuckingham>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.0.3CC: bbuckingham, cwelton
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/4874
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-02 14:06:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sachin Ghai 2014-03-21 06:38:17 UTC
Description of problem:
Create a content-view filter with name 'test' and then recreating the filter with same name neither raises any error nor submit the form on clicking 'save' button.


Version-Release number of selected component (if applicable):
rubygem-katello_api-0.0.8-2.el6sat.noarch
ruby193-rubygem-katello-1.5.0-22.el6sat.noarch
katello-repos-1.5.1-1.git.14.0868bd1.el6.noarch
rubygem-hammer_cli_katello-0.0.3-5.el6sat.noarch
katello-1.5.0-18.el6sat.noarch
katello-certs-tools-1.5.5-1.el6sat.noarch
katello-installer-0.0.28-1.el6sat.noarch
pulp-katello-plugins-0.2-1.el6sat.noarch
katello-ca-1.0-1.noarch
katello-apache-1.0-1.noarch
foreman-selinux-1.5.0-0.develop.el6sat.noarch
rubygem-hammer_cli_foreman-0.0.18-7.el6sat.noarch
foreman-proxy-1.5.3-1.el6sat.noarch
ruby193-rubygem-foreman-tasks-0.4.0-5.el6sat.noarch
rubygem-foreman_api-0.1.11-3.el6sat.noarch
rubygem-hammer_cli_foreman_tasks-0.0.1-4.el6sat.noarch
foreman-postgresql-1.5.0.9-1.el6sat.noarch
foreman-1.5.0.9-1.el6sat.noarch
foreman-release-1.5.0-0.develop.201403182248gitdf471c7.el6.noarch

How reproducible:
always

Steps to Reproduce:
1. Create a filter with name 'test'
2. create another filter with same name 'test'
3.

Actual results:
Adding new filter with an existing name neither save the form nor raises any error on UI

Expected results:
on click 'save' button, form should be submitted and UI should raise an exception that name already exists.. 

Additional info:

Comment 1 RHEL Program Management 2014-03-21 06:44:27 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 3 Brad Buckingham 2014-03-26 15:50:19 UTC
fixing in katello PR: https://github.com/Katello/katello/pull/3891

Comment 5 Corey Welton 2014-04-14 17:02:54 UTC
This is verified in Satellite-6.0.3-RHEL-6-20140404.0.  I'm still not sure i like the message formatting but it's not a big concern atm. May enter a new bug if it really starts to bother me, but in any case, the behaviour exhibited has been fixed.

Comment 6 Bryan Kearney 2014-07-02 14:06:26 UTC
This was delivered with 6.0.3, which is the Satellite 6 Beta.