Bug 2239787
| Summary: | RHDS Console - Failing to show entries with certificate in the Table View. | ||
|---|---|---|---|
| Product: | Red Hat Directory Server | Reporter: | Têko Mihinto <tmihinto> |
| Component: | cockpit-389-ds | Assignee: | LDAP Maintainers <idm-ds-dev-bugs> |
| Status: | CLOSED ERRATA | QA Contact: | LDAP QA Team <idm-ds-qe-bugs> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 11.7 | CC: | bsmejkal, emartyny, idm-ds-dev-bugs, tbordaz, vashirov |
| Target Milestone: | DS11.9 | Keywords: | Triaged |
| Target Release: | dirsrv-11.9 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | sync-to-jira | ||
| Fixed In Version: | 389-ds-base-1.4.3.39-1.module+el8dsrv+21143+6a9f8bbf | Doc Type: | Release Note |
| Doc Text: |
When an LDAP entry contains a binary attribute, that is usually a large value, UI truncates its value and through an exception when handling it.
With the fix binary attribute, like jpegphoto or usercertificate are now correctly handle and UI does not send an exception
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2024-05-21 00:09:00 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: | |||
Build tested: 389-ds-base-1.4.3.39-3.module+el8dsrv+21677+4b22807b.x86_64 An entry with binary attributes (jpegPhoto, userCertificate) is displayed correctly in Ldap Browser's Table View and no exception is raised. Marking as Verified. 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 (redhat-ds:11 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/RHEA-2024:2934 |
Description of problem: The RHDS Console is throwing an exception while trying to show an entry with binary attribute(s). The stacktrace in the JS console is: ========================================= index.js:2 Uncaught TypeError: Cannot read properties of undefined (reading 'toLowerCase') at index.js:2:2776510 at Array.map (<anonymous>) at index.js:2:2776455 at Function.<anonymous> (index.js:2:2381931) at cockpit.js:1:12867 at cockpit.js:1:12978 at L (cockpit.js:1:12383) ========================================= Version-Release number of selected component (if applicable): $ cat /etc/redhat-release Red Hat Enterprise Linux release 8.8 (Ootpa) $ $ rpm -qa | grep 389-ds 389-ds-base-1.4.3.34-1.module+el8dsrv+18528+22f7779f.x86_64 389-ds-base-libs-1.4.3.34-1.module+el8dsrv+18528+22f7779f.x86_64 cockpit-389-ds-1.4.3.34-1.module+el8dsrv+18528+22f7779f.noarch $ How reproducible: Always. Steps to Reproduce: 1. Add an entry with a binary attribute ( jpegPhoto, userCertificate, ... ) 2. Try to see the entry in the Table View of the LDAP Browser 3. There will be an exception and the RHDS Console won't show the entry 4. Remove the binary attribute from the entry. It's now visible in the Console. Actual results: Failure to show entries. Expected results: Show entries with binary attributes. Ideally decode such attributes ( as it was done in the previous Java Console ). Additional info: