Bug 1211687 - Duplicate foreman providers can be added
Summary: Duplicate foreman providers can be added
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.4.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: GA
: 5.4.0
Assignee: Keenan Brock
QA Contact: Aziza Karol
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-14 15:26 UTC by Aziza Karol
Modified: 2015-06-16 12:58 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-06-16 12:58:21 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:1100 0 normal SHIPPED_LIVE CFME 5.4.0 bug fixes, and enhancement update 2015-06-16 16:28:42 UTC

Description Aziza Karol 2015-04-14 15:26:50 UTC
Description of problem:


Version-Release number of selected component (if applicable):
5.4.0.0.19.20150410165622_ad23806

How reproducible:
100%

Steps to Reproduce:
1.Add a foreman provider
2.Again add the foreman provider with the same URL but different name.
3.

Actual results:
Duplicate foreman providers get added.

Expected results:
Duplicate foreman provider should not get added.
proper validation for URL is required.

Additional info:

Comment 2 CFME Bot 2015-04-15 16:16:14 UTC
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/e5298c789c8274dc7b14544d8bd8ab6a8755e7c8

commit e5298c789c8274dc7b14544d8bd8ab6a8755e7c8
Author:     Keenan Brock <kbrock>
AuthorDate: Tue Apr 14 22:02:20 2015 -0400
Commit:     Keenan Brock <kbrock>
CommitDate: Tue Apr 14 22:02:20 2015 -0400

    Ensure the foreman url is unique
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1211687

 vmdb/app/models/provider_foreman.rb | 1 +
 1 file changed, 1 insertion(+)

Comment 4 Aziza Karol 2015-04-30 07:46:38 UTC
Flash message "Url has already been taken" is displayed.

Verified:
5.4.0.0.24.20150427192818_1fd9e49

Comment 6 errata-xmlrpc 2015-06-16 12:58:21 UTC
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.

https://rhn.redhat.com/errata/RHBA-2015-1100.html


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