Bug 1283629

Summary: When selecting a template in the provision dialog, the table jumps to the top hiding your selection
Product: Red Hat CloudForms Management Engine Reporter: Pete Savage <psavage>
Component: UI - OPSAssignee: Harpreet Kataria <hkataria>
Status: CLOSED ERRATA QA Contact: Shveta <sshveta>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.5.0CC: cpelland, hkataria, jhardy, mpovolny, obarenbo, simaishi, sshveta
Target Milestone: GA   
Target Release: 5.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ui:catalog
Fixed In Version: 5.6.0.6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-29 15:03:19 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 Pete Savage 2015-11-19 13:06:04 UTC
Description of problem: When selecting a template in the provision dialog, the table jumps to the top hiding your selection


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


How reproducible: 100%


Steps to Reproduce:
1. Add a provider
2. Add a catalog item for the provider
3. Enter the Request Info tab
4. Scroll to a template near the bottom of the list and select it

Actual results: Table then jumps to top of list meaning you have to scroll down again to see what got selected.


Expected results: Table should remain where it was.


Additional info:

Comment 4 CFME Bot 2016-05-06 18:25:45 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/9ff5b2d18a1aad4283daaf0f17519d9375245a5a

commit 9ff5b2d18a1aad4283daaf0f17519d9375245a5a
Author:     Harpreet Kataria <hkataria>
AuthorDate: Fri May 6 10:57:24 2016 -0400
Commit:     Harpreet Kataria <hkataria>
CommitDate: Fri May 6 10:58:39 2016 -0400

    Added JS function to scroll to selected row in table.
    
    Changed all views on provisioning form to scroll to selected row in table when screen reloads after transaction is sent upto the server.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1283629

 app/assets/javascripts/miq_application.js                    | 5 +++++
 app/views/miq_request/_prov_configured_system_grid.html.haml | 2 ++
 app/views/miq_request/_prov_ds_grid.html.haml                | 2 ++
 app/views/miq_request/_prov_host_grid.html.haml              | 2 ++
 app/views/miq_request/_prov_iso_img_grid.html.haml           | 2 ++
 app/views/miq_request/_prov_pxe_img_grid.html.haml           | 2 ++
 app/views/miq_request/_prov_template_grid.html.haml          | 2 ++
 app/views/miq_request/_prov_vc_grid.html.haml                | 2 ++
 app/views/miq_request/_prov_vm_grid.html.haml                | 5 +++++
 app/views/miq_request/_prov_windows_image_grid.html.haml     | 2 ++
 10 files changed, 26 insertions(+)

Comment 6 Shveta 2016-05-13 19:15:03 UTC
Fixed.
Verified in 5.6.0.6-beta2.5.20160511140943_ff75fb2

Comment 9 errata-xmlrpc 2016-06-29 15:03:19 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://access.redhat.com/errata/RHBA-2016:1348