Bug 1601915 - Edit tag: Cannot select second tag to items
Summary: Edit tag: Cannot select second tag to items
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.9.4
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.10.0
Assignee: Harpreet Kataria
QA Contact: Shveta
Sudhir Mallamprabhakara
URL:
Whiteboard: ui:tag
: 1612022 1615136 (view as bug list)
Depends On:
Blocks: 1615633
TreeView+ depends on / blocked
 
Reported: 2018-07-17 12:54 UTC by Ruslana Babyuk
Modified: 2019-02-11 14:18 UTC (History)
11 users (show)

Fixed In Version: 5.10.0.14
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1615633 (view as bug list)
Environment:
Last Closed: 2019-02-11 14:18:35 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
dropdown (46.41 KB, image/png)
2018-07-17 12:54 UTC, Ruslana Babyuk
no flags Details
dropdown_not_closed (143.35 KB, image/png)
2018-07-17 12:55 UTC, Ruslana Babyuk
no flags Details

Description Ruslana Babyuk 2018-07-17 12:54:51 UTC
Created attachment 1459431 [details]
dropdown

Description of problem:
Cannot select the second tag to item

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

How reproducible:
100%

Steps to Reproduce:
1. Add cloud provider
2. Navigate to any instance details page
3. Add any tag -> Save
4. Open edit tags one more time
5. Try to add one more tag


Actual results:
Tag is not added, the dropdown is not closed

Expected results:
Tag is added and saved

Additional info:

Comment 3 Ruslana Babyuk 2018-07-17 12:55:22 UTC
Created attachment 1459432 [details]
dropdown_not_closed

Comment 6 Hilda Stastna 2018-07-23 10:02:05 UTC
Note: the same problem occurs while tagging any other items, not just Instances.

Comment 7 Hilda Stastna 2018-07-23 12:39:16 UTC
Note2: I was able to reproduce the bug while clicking fast, choosing a value very fast, right after choosing a category. If I did it slower, the problem does not occur.

Comment 8 Harpreet Kataria 2018-08-03 13:42:46 UTC
*** Bug 1612022 has been marked as a duplicate of this bug. ***

Comment 9 Nikhil Dhandre 2018-08-06 08:25:32 UTC
This BZ also applicable for Version('5.9.4.2')

Comment 15 CFME Bot 2018-08-10 18:04:18 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 16 Harpreet Kataria 2018-08-13 13:21:33 UTC
*** Bug 1615136 has been marked as a duplicate of this bug. ***

Comment 18 CFME Bot 2018-08-21 15:37:24 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 20 CFME Bot 2018-08-23 19:03:12 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 21 Shveta 2018-09-13 21:04:52 UTC
Fixed in 5.10.0.14.20180831154906_2f9a1dd


Note You need to log in before you can comment on or make changes to this bug.