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:
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