.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.
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)
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.
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 7Evgenia Martynyuk
2022-04-22 20:18:54 UTC
Good comment! thank you. Changed page to message
Comment 8Evgenia Martynyuk
2022-04-25 09:01:37 UTC
Sarka sjanderk kindly agreed to make a peer review. The peer comments are implemented.
Comment 9Evgenia Martynyuk
2022-05-04 09:01:10 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
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)