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

Bug 2011187

Summary: Posix Winsync Plugin - configuration is not saved
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, mtimar, spichugi
Target Milestone: ---   
Target Release: dirsrv-12.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: redhat-ds-12-9000020211123032220.032d475b Doc Type: Bug Fix
Doc Text:
.Changing the configuration of several plug-ins now works correctly in the web console Previously, when you tried to change the configuration of a plug-in using the web console, an incorrect error message was displayed, or a loading loop did not disappear. Consequently, you could not save a new configuration or did not know if the configuration was saved successfully.   The following plug-in were affected: * Posix Winsync plug-in * Referential Integrity plug-in * RootDN Access Control plug-in * Retro Changelog plug-in This update fixes the issue. As a result, you can now configure these plug-ins using the web console as expected.
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-06 08:43:20 UTC
Description of problem:
Changing any configuration in Posix Winsync Plugin produces Ooops! in the page and configuration is not saved.

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 Posix Winsinc
2. Enable plugin -> restart
3. Check "Create MemberOf Task" or any other option
4. Click Save


Actual results:
Page will say Ooops! and configuration is not saved.

Expected results:
Configuration is saved.

Additional info:

Browser console reports
Uncaught TypeError: Cannot read property 'props' of undefined
    at savePlugin (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)
    at j (index.js:2)

Comment 4 bsmejkal 2022-02-15 13:02:26 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 6 Simon Pichugin 2022-04-22 14:46:12 UTC
First, you say 'the error message' but then, in the last sentence, you say 'the error page'.
I think 'the error message' is a more correct choice of words for this case.

The rest looks good!

Comment 7 Evgenia Martynyuk 2022-04-22 20:18:54 UTC
Good comment! thank you. Changed page to message

Comment 8 Evgenia Martynyuk 2022-04-25 09:01:37 UTC
Sarka sjanderk kindly agreed to make a peer review. The peer comments are implemented.

Comment 9 Evgenia Martynyuk 2022-05-04 09:01:10 UTC
Bundled  several similar RNs to one.
BZ#2011187
BZ#2011751
BZ#2011767
BZ#2011183

Comment 11 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