Bug 1765691

Summary: After looking up info for LDAP user, user must navigate away from page for it to appear
Product: Red Hat CloudForms Management Engine Reporter: John Dupuy <jdupuy>
Component: UI - OPSAssignee: Hilda Stastna <hstastna>
Status: CLOSED CURRENTRELEASE QA Contact: John Dupuy <jdupuy>
Severity: medium Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: unspecified    
Version: 5.11.0CC: bmidwood, dmetzger, hkataria, jdupuy, lavenel, mpovolny, obarenbo, tfitzger
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.12.0Flags: mfeifer: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1784188 (view as bug list) Environment:
Last Closed: 2020-10-26 16:25:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1784188    
Attachments:
Description Flags
Gif of the bug none

Description John Dupuy 2019-10-25 18:22:40 UTC
Created attachment 1629318 [details]
Gif of the bug

Description of problem:
In the VM provisioning form, if an appliance is configured with LDAP, there is a button to lookup a user's first and last name from their email. If you click this button, the info appears but only after clicking another tab in the form first. 

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

How reproducible:
100%

Steps to Reproduce:
1. Add an infra provider
2. Configure CFME with LDAP server
3. Provision a VM from a template
4. Enter user's email in the provision form
5. Click lookup

Actual results:
Info only appears after clicking another tab in the form

Expected results:
Info should appear without clicking another tab in the form

Additional info:
See attached gif

Comment 10 Hilda Stastna 2019-11-08 16:46:15 UTC
Fixing https://github.com/ManageIQ/manageiq-ui-classic/pull/6391

Comment 11 CFME Bot 2019-11-15 07:21:58 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:

https://github.com/ManageIQ/manageiq-ui-classic/commit/c492811a83d0b66c06dd3422e70be32c4e7d10b6
commit c492811a83d0b66c06dd3422e70be32c4e7d10b6
Author:     Hilda Stastna <hstastna>
AuthorDate: Fri Nov  8 11:22:11 2019 -0500
Commit:     Hilda Stastna <hstastna>
CommitDate: Fri Nov  8 11:22:11 2019 -0500

    Display user info after clicking on Lookup while provisioning VM

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1765691

    Make also small changes in the specs for appropriate
    controller, add new specs for retrieve_email method.

 app/controllers/miq_request_controller.rb | 4 +-
 spec/controllers/miq_request_controller_spec.rb | 106 +-
 2 files changed, 63 insertions(+), 47 deletions(-)