Bug 1610668

Summary: Multiple popups are created when deleting user
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Filip Balák <fbalak>
Component: web-admin-tendrl-uiAssignee: Neha Gupta <negupta>
Status: CLOSED ERRATA QA Contact: Filip Balák <fbalak>
Severity: medium Docs Contact:
Priority: medium    
Version: rhgs-3.4CC: ebondare, mbukatov, nthomas, rhs-bugs, sankarshan
Target Milestone: ---Keywords: Regression, ZStream
Target Release: RHGS 3.4.z Batch Update 2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tendrl-ui-1.6.3-12.el7rhgs Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-12-17 17:06:56 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:
Attachments:
Description Flags
Delete user popup
none
Another Delete user popup after user was deleted
none
Error deleting user when Delete is selected in another popup none

Description Filip Balák 2018-08-01 07:44:31 UTC
Created attachment 1472011 [details]
Delete user popup

Description of problem:
If there are multiple users in WA then when user tries to delete one of them in UI, the popup asking if user really should be deleted is open as many times as there are users.

Version-Release number of selected component (if applicable):
tendrl-ansible-1.6.3-5.el7rhgs.noarch
tendrl-api-1.6.3-4.el7rhgs.noarch
tendrl-api-httpd-1.6.3-4.el7rhgs.noarch
tendrl-commons-1.6.3-9.el7rhgs.noarch
tendrl-grafana-plugins-1.6.3-7.el7rhgs.noarch
tendrl-grafana-selinux-1.5.4-2.el7rhgs.noarch
tendrl-monitoring-integration-1.6.3-7.el7rhgs.noarch
tendrl-node-agent-1.6.3-9.el7rhgs.noarch
tendrl-notifier-1.6.3-4.el7rhgs.noarch
tendrl-selinux-1.5.4-2.el7rhgs.noarch
tendrl-ui-1.6.3-8.el7rhgs.noarch

How reproducible:
100%

Steps to Reproduce:
1. Open Users administration (<wa-server>/#/admin/users).
2. Create multiple users, at least one should have normal or read only role.
3. Click on kebab menu next to one of the not admin users.
4. Select `Delete User`.

Actual results:
Delete User popup is open multiple times. Number of opened popups corresponds with number of users. When someone selects Delete and then he selects Delete in some other popup, there appears error `Error deleting <user>` as the user was already deleted.

Expected results:
There should be only one popup opened when deleting user.

Additional info:
This was working correctly in RHGS WA 3.3.1 (tendrl-ui-1.5.4-6.el7rhgs.noarch) --> Regression

Comment 2 Filip Balák 2018-08-01 07:45:35 UTC
Created attachment 1472013 [details]
Another Delete user popup after user was deleted

Comment 3 Filip Balák 2018-08-01 07:46:25 UTC
Created attachment 1472014 [details]
Error deleting user when Delete is selected in another popup

Comment 8 Filip Balák 2018-11-08 09:13:31 UTC
Looks ok. --> VERIFIED

Tested with:
tendrl-monitoring-integration-1.6.3-15.el7rhgs.noarch
tendrl-selinux-1.5.4-2.el7rhgs.noarch
tendrl-api-1.6.3-8.el7rhgs.noarch
tendrl-api-httpd-1.6.3-8.el7rhgs.noarch
tendrl-grafana-plugins-1.6.3-15.el7rhgs.noarch
tendrl-ansible-1.6.3-9.el7rhgs.noarch
tendrl-commons-1.6.3-13.el7rhgs.noarch
tendrl-node-agent-1.6.3-11.el7rhgs.noarch
tendrl-ui-1.6.3-12.el7rhgs.noarch
tendrl-grafana-selinux-1.5.4-2.el7rhgs.noarch
tendrl-notifier-1.6.3-4.el7rhgs.noarch

Comment 9 Martin Bukatovic 2018-12-10 17:35:51 UTC
*** Bug 1642912 has been marked as a duplicate of this bug. ***

Comment 10 errata-xmlrpc 2018-12-17 17:06:56 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/RHSA-2018:3829