Bug 1610668 - Multiple popups are created when deleting user
Summary: Multiple popups are created when deleting user
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: web-admin-tendrl-ui
Version: rhgs-3.4
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: RHGS 3.4.z Batch Update 2
Assignee: Neha Gupta
QA Contact: Filip Balák
URL:
Whiteboard:
: 1642912 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-08-01 07:44 UTC by Filip Balák
Modified: 2022-07-09 10:16 UTC (History)
5 users (show)

Fixed In Version: tendrl-ui-1.6.3-12.el7rhgs
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-12-17 17:06:56 UTC
Embargoed:


Attachments (Terms of Use)
Delete user popup (41.25 KB, image/png)
2018-08-01 07:44 UTC, Filip Balák
no flags Details
Another Delete user popup after user was deleted (42.15 KB, image/png)
2018-08-01 07:45 UTC, Filip Balák
no flags Details
Error deleting user when Delete is selected in another popup (41.73 KB, image/png)
2018-08-01 07:46 UTC, Filip Balák
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github Tendrl ui issues 1076 0 None None None 2018-10-16 06:06:32 UTC
Red Hat Bugzilla 1599291 0 unspecified CLOSED Strange behavior of closing functionality of list of hosts popup window 2022-07-09 10:16:07 UTC
Red Hat Bugzilla 1611991 0 unspecified CLOSED Unmanage information and confirmation popups are created multiple times 2022-07-09 10:16:15 UTC
Red Hat Product Errata RHSA-2018:3829 0 None None None 2018-12-17 17:07:05 UTC

Internal Links: 1599291 1611991

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


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