Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1751046

Summary: Console should get auto refresh after any operation or a button should exist for immediate refresh
Product: Red Hat Directory Server Reporter: Abhinay Reddy Peddireddy <apeddire>
Component: cockpit-389-dsAssignee: mreynolds
Status: CLOSED ERRATA QA Contact: RHDS QE <ds-qe-bugs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 11.0CC: bsmejkal, kbanerje, pasik, spichugi, tbordaz, vashirov
Target Milestone: ---   
Target Release: dirsrv-11.2   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: 389-ds-base-1.4.3.11-1.module+el8dsrv+7557+bc264682 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-04 10:53:12 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 Abhinay Reddy Peddireddy 2019-09-11 05:21:01 UTC
Description of problem:

Console should get auto refresh after any operation or a button should exist for immediate refresh. 



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

cockpit-389-ds-1.4.1.8-1.module+el8dsrv+4209+f45880df.noarch




How reproducible:

1. Install a directory server on RHEL 8 

2. Go to Red Hat Directory Server Management. 

3. Then click on the actions button and goto 'Perform Backup' and create a new backup. 

4. Now try to list this backup in the database section. 

   goto database section -> click on backups & LDIFS. 

   backup should be listed here. But it doesn't get listed unless we refresh the  complete WebUI console on browser.  

5. Same happens when you try to delete the backup also. 

6. Now try to delete the same existing backup from 'Manage backups' under the drop down menu in the actions button on the right side corner. 

7. Then go to database section -> click on backups & LDIFS. Backup will still be visible there until we refresh the console from browser. 



Expected results:

Console should get auto refreshed after any operation performed or there should be a button to refresh it immediately after any operation.

Comment 1 Kaushik Banerjee 2019-09-11 05:28:17 UTC
Adding to the original comment, adding or deleting a new suffix from the UI does not reflect anywhere else unless I reload the complete URL.

I also see that there is a refresh functionality/button in the "Monitoring" tab. Would be good to have that across all the tabs.

Comment 2 mreynolds 2019-09-12 18:13:55 UTC
Part of the issue here is that half the UI is written in ReactJS and the other half is in plain javascript.  They can not talk to each other.  When we port the remaining javascript to ReactJS "most" of this should get fixed automatically.

Comment 3 mreynolds 2019-11-06 21:27:24 UTC
In the meantime I am adding refresh buttons to commonly used components.

Comment 6 bsmejkal 2020-09-21 13:19:04 UTC
Build tested:
389-ds-base-1.4.3.11-1.module+el8dsrv+7557+bc264682.x86_64
389-ds-base-libs-1.4.3.11-1.module+el8dsrv+7557+bc264682.x86_64
cockpit-389-ds-1.4.3.11-1.module+el8dsrv+7557+bc264682.noarch

The components now have a refresh button, so there is no need to reload whole browser page. 
Adding and deleting suffix is auto-refreshed.
Marking as VERIFIED.

Comment 8 errata-xmlrpc 2020-11-04 10:53:12 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 (Red Hat Directory Server bug fix and enhancement update), 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-2020:4911