Bug 1177015 - Trusted forest entry added even when fields are blank
Summary: Trusted forest entry added even when fields are blank
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.3.0
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: GA
: 5.4.0
Assignee: Milan Zázrivec
QA Contact: Dave Johnson
URL:
Whiteboard:
Depends On:
Blocks: 1193393
TreeView+ depends on / blocked
 
Reported: 2014-12-23 19:34 UTC by Nandini Chandra
Modified: 2015-06-16 12:46 UTC (History)
3 users (show)

Fixed In Version: 5.4.0.0.11
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1193393 (view as bug list)
Environment:
Last Closed: 2015-06-16 12:46:45 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
screenshot that shows that a trusted forest entry with blank fields can be added (102.16 KB, image/png)
2014-12-23 19:34 UTC, Nandini Chandra
no flags Details


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 Nandini Chandra 2014-12-23 19:34:38 UTC
Created attachment 972508 [details]
screenshot that shows that a trusted forest entry with blank fields can be added

Description of problem:
-------------------------
I ran into this issue while verifying bug 1163384.
See attached screenshot.


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

How reproducible:
----------------
Always

Steps to Reproduce:
----------------
1. Go to Configuration/Configure
2. Select Current server in Settings Accordion
3. Go to Authentication tab
4. change mode to LDAP
5. Check the checkbox for "Get User Groups from LDAP"
6. In "Trusted Forest Settings" box, click on + sign to Add a new forest
7. While entering new Forest details,leave all the fields blank and then press "Add this entry" button.

Actual results:
---------------
CFME allows a user to add a Trusted forest entry even when fields are blank.


Expected results:
----------------
CFME should not allow a user to add a Trusted forest entry even when fields are blank.

Additional info:
----------------

Comment 3 Milan Zázrivec 2015-02-16 14:27:50 UTC
https://github.com/ManageIQ/manageiq/pull/1708

Comment 4 CFME Bot 2015-02-16 21:50:59 UTC
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/9a4b554c952faf37dfc66b475c5b24beaf48f93c

commit 9a4b554c952faf37dfc66b475c5b24beaf48f93c
Author:     Milan Zazrivec <mzazrivec>
AuthorDate: Mon Feb 16 15:24:39 2015 +0100
Commit:     Milan Zazrivec <mzazrivec>
CommitDate: Mon Feb 16 15:43:03 2015 +0100

    UI: don't allow to add an empty ldap forest entry
    
    The LDAP hostname has to be set -- we cannot be adding a new forest
    entry without an LDAP hostname to the set of existing LDAP hosts.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1177015

 vmdb/app/controllers/ops_controller/settings.rb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comment 5 Nandini Chandra 2015-03-07 02:52:34 UTC
Verified that this issue doesn't occur in master.20150306140042_57a1769

Comment 8 errata-xmlrpc 2015-06-16 12:46:45 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.