Bug 1614437

Summary: [v2v] Transformation host tagging behaves erratic: blocks the UI
Product: Red Hat CloudForms Management Engine Reporter: Kedar Kulkarni <kkulkarn>
Component: UI - OPSAssignee: Harpreet Kataria <hkataria>
Status: CLOSED CURRENTRELEASE QA Contact: Kedar Kulkarni <kkulkarn>
Severity: medium Docs Contact:
Priority: high    
Version: 5.9.4CC: agrare, bthurber, dmetzger, hkataria, lavenel, mpovolny, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.10.0Flags: kkulkarn: automate_bug+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: v2v
Fixed In Version: 5.10.0.14 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1615632 (view as bug list) Environment:
Last Closed: 2019-02-12 16:50:46 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:
Bug Depends On:    
Bug Blocks: 1615632    
Attachments:
Description Flags
ScreenVideoRecording none

Description Kedar Kulkarni 2018-08-09 14:57:08 UTC
Created attachment 1474725 [details]
ScreenVideoRecording

Description of problem:
 Transformation host tagging behaves erratic: blocks the UI See video attached.

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

How reproducible:
Believe fairly close to 100%

Steps to Reproduce:
1.Add RHV provider
2.Follow steps in attached Video
3.

Actual results:
See Video

Expected results:
Tag assignment should not block UI. 

Additional info:

Comment 3 Adam Grare 2018-08-09 19:57:17 UTC
Hey Brett, looks like a UI issue

Comment 6 CFME Bot 2018-08-10 18:03:59 UTC
New commits detected on ManageIQ/manageiq-ui-classic/master:

https://github.com/ManageIQ/manageiq-ui-classic/commit/ea7cb32b8c26d94dd236c68ee858e51ad5d40561
commit ea7cb32b8c26d94dd236c68ee858e51ad5d40561
Author:     Harpreet Kataria <hkataria>
AuthorDate: Fri Aug 10 10:31:23 2018 -0400
Commit:     Harpreet Kataria <hkataria>
CommitDate: Fri Aug 10 10:31:23 2018 -0400

    Added spinner after Category is selected on tagging screen

    Stop spinner after transaction is complete.

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

 app/controllers/application_controller/tags.rb | 3 +
 app/views/layouts/_tag_edit.html.haml | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)


https://github.com/ManageIQ/manageiq-ui-classic/commit/2cdc74528332bc9bd97527e3d89dfe6632586658
commit 2cdc74528332bc9bd97527e3d89dfe6632586658
Author:     Harpreet Kataria <hkataria>
AuthorDate: Fri Aug 10 11:32:16 2018 -0400
Commit:     Harpreet Kataria <hkataria>
CommitDate: Fri Aug 10 11:32:16 2018 -0400

    Fixes to address codeclimate issues

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

 app/controllers/application_controller/tags.rb | 55 +-
 1 file changed, 30 insertions(+), 25 deletions(-)

Comment 8 CFME Bot 2018-08-21 15:37:33 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:

https://github.com/ManageIQ/manageiq-ui-classic/commit/14d01e4707c618504c865c8fdb80f512408b43c4
commit 14d01e4707c618504c865c8fdb80f512408b43c4
Author:     Harpreet Kataria <hkataria>
AuthorDate: Mon Aug 20 11:00:57 2018 -0400
Commit:     Harpreet Kataria <hkataria>
CommitDate: Mon Aug 20 11:00:57 2018 -0400

    Removed `data-miq_observe` from drop down

    miqSelectPickerEvent is being called to observe botstrap dropdowns, having both observers causes double transactions to be sent upto server and causes an issue in UI randomly.

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

 app/views/layouts/_tag_edit.html.haml | 1 -
 1 file changed, 1 deletion(-)

Comment 10 CFME Bot 2018-08-23 19:02:56 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:

https://github.com/ManageIQ/manageiq-ui-classic/commit/f081126a8594071dc930d8aec1cdecdee2f6da35
commit f081126a8594071dc930d8aec1cdecdee2f6da35
Author:     Harpreet Kataria <hkataria>
AuthorDate: Thu Aug 23 13:20:51 2018 -0400
Commit:     Harpreet Kataria <hkataria>
CommitDate: Thu Aug 23 13:20:51 2018 -0400

    Added spinner after Value is selected on tagging screen

    Stop spinner after transaction is complete, when switching between values too quickly sometimes it leaves drop down open and unresponsive. Removed `data-miq_observe` from drop down value as well similar to what was done for Categories drop down, miqSelectPickerEvent is being called to observe bootstrap dropdowns.

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

 app/controllers/application_controller/tags.rb | 2 +-
 app/views/layouts/_tag_edit_cat_tags.html.haml | 3 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

Comment 11 Kedar Kulkarni 2018-09-07 18:18:56 UTC
On CFME build 5.10.0.14 I do not see this issue anymore.