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

Bug 2160491

Summary: UI - editing/adding users or groups crashes browser (modifying read-only variable)
Product: Red Hat Directory Server Reporter: mreynolds
Component: cockpit-389-dsAssignee: mreynolds
Status: CLOSED ERRATA QA Contact: LDAP QA Team <idm-ds-qe-bugs>
Severity: high Docs Contact: Evgenia Martynyuk <emartyny>
Priority: unspecified    
Version: 11.7CC: bsmejkal, emartyny, idm-ds-dev-bugs, tmihinto
Target Milestone: DS11.6   
Target Release: dirsrv-11.6   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: redhat-ds-11-8070020230112164557-95958119 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-01-17 08:52:07 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 mreynolds 2023-01-12 15:17:59 UTC
Description of problem:

In the UI code a "const" variable was being updated in the add/edit code.  Newer browsers are treating this as an error and crashing.

Comment 1 mreynolds 2023-01-12 15:22:49 UTC
Upstream ticket:

https://github.com/389ds/389-ds-base/issues/5602

Comment 2 mreynolds 2023-01-12 15:33:59 UTC
To reproduce:

[1] Goto LDAP Browser tab
[2] Right click on suffix and select "New ..."
[3] Choose "Create a new custom entry"
[4] Check an objectclass -> browser crashes

Second scenario

[1] Goto LDAP Browser tab
[2] Find a group in the tree (e.g. under ou=groups,dc=example,dc=com)
[3] Select "Edit ..." -> browser crashes

Comment 3 mreynolds 2023-01-12 15:37:34 UTC
Sorry, on step 2 in the first scenario, it's not a right click, but click ib tge action icon (the 3 vertical dots)

Comment 8 errata-xmlrpc 2023-01-17 08:52:07 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 (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/RHBA-2023:0186