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:
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(+)
Flash message "Url has already been taken" is displayed. Verified: 5.4.0.0.24.20150427192818_1fd9e49
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