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

Bug 2011751

Summary: Referential Integrity Plugin - unable to save changes
Product: Red Hat Directory Server Reporter: bsmejkal
Component: cockpit-389-dsAssignee: Simon Pichugin <spichugi>
Status: CLOSED ERRATA QA Contact: RHDS QE <ds-qe-bugs>
Severity: unspecified Docs Contact: Evgenia Martynyuk <emartyny>
Priority: unspecified    
Version: 12.0CC: emartyny, ldap-maint, mreynolds, spichugi
Target Milestone: ---   
Target Release: dirsrv-12.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: redhat-ds-12-9000020211123032220.032d475b Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-18 15:28: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 bsmejkal 2021-10-07 09:37:38 UTC
Description of problem:
Changing any configuration in Referential Integrity Plugin causes Ooops! on the page.

Version-Release number of selected component (if applicable):
389-ds-base-2.0.10-1.module+el9dsrv+12668+daa4c88c.x86_64
cockpit-389-ds-2.0.10-1.module+el9dsrv+12668+daa4c88c.noarch

How reproducible:
Always

Steps to Reproduce:
1. Go to Plugins tab -> Click Referential Integrity
2. Enable plugin -> restart
3. Set for example "Update Delay" to a higher value
4. Click Save Config


Actual results:
Page will say Ooops!, saving is stuck in loading loop and configuration is not saved.

Expected results:
Configuration is saved.


Additional info:

Browser console output
index.js:2 Uncaught TypeError: o.startsWith is not a function
    at p (index.js:2)
    at Rl.saveConfig (index.js:2)
    at Object.o (index.js:2)
    at u (index.js:2)
    at index.js:2
    at v (index.js:2)
    at ot (index.js:2)
    at it (index.js:2)
    at lt (index.js:2)
    at mt (index.js:2)

Comment 4 bsmejkal 2022-02-17 12:58:03 UTC
Build tested:
389-ds-base-2.0.14-2.module+el9dsrv+14105+a1e450bc.x86_64
cockpit-389-ds-2.0.14-2.module+el9dsrv+14105+a1e450bc.noarch

Configuration is saved, marking as VERIFIED.

Comment 7 Evgenia Martynyuk 2022-04-25 08:57:32 UTC
Sarka sjanderk kindly agreed to make a peer review. The peer comments are implemented.

Comment 9 errata-xmlrpc 2022-05-18 15:28: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:12 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-2022:4664