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

Bug 1751270

Summary: RHDS WebUI - Show an empty table if there is no user-defined attribute or objectclass.
Product: Red Hat Directory Server Reporter: Têko Mihinto <tmihinto>
Component: cockpit-389-dsAssignee: mreynolds
Status: CLOSED ERRATA QA Contact: RHDS QE <ds-qe-bugs>
Severity: low Docs Contact:
Priority: unspecified    
Version: 11.0CC: bsmejkal, pasik, spichugi, tbordaz, vashirov
Target Milestone: ---   
Target Release: dirsrv-11.2   
Hardware: All   
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 Têko Mihinto 2019-09-11 14:44:24 UTC
Description of problem:
There is a some text in the table when there is no user-defined ObjectClass or attribute.

Version-Release number of selected component (if applicable):
# rpm -qa | grep 389-ds
389-ds-base-1.4.1.8-1.module+el8dsrv+4209+f45880df.x86_64
389-ds-base-libs-1.4.1.8-1.module+el8dsrv+4209+f45880df.x86_64
cockpit-389-ds-1.4.1.8-1.module+el8dsrv+4209+f45880df.noarch
#

How reproducible:
Always.

Steps to Reproduce:
1. Click on the "Schema" drop-down list and select either "Objectclasses" or "Attributes". 
2. Check the checkbox "Only Non-standard Schema (attributes with X-ORIGIN: "user defined")"
3. A text will appear ( instead of an empty table ).

Actual results:
There are code comments.


Expected results:
Remove the text or add more specific text ( for instance "No results found" )

Additional info:
https://www.patternfly.org/v4/design-guidelines/usage-and-behavior/empty-state

Comment 6 bsmejkal 2020-09-01 10:32:07 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


Checking the box "Only Non-standard Schema (attributes with X-ORIGIN: "user defined")" or "Only Non-standard Schema (objectClasses with X-ORIGIN: "user defined")" will now result in an empty table without code comments.
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