Bug 2174421

Summary: RHDS Console 12.2. Server tab: In Log Settings the Save Setting button is not deactivating after changing number values to it's original value, allowing to post empty updates.
Product: Red Hat Directory Server Reporter: Vladimir Cech <vcech>
Component: cockpit-389-dsAssignee: mreynolds
Status: CLOSED ERRATA QA Contact: LDAP QA Team <idm-ds-qe-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 12.2CC: bsmejkal, idm-ds-dev-bugs, mreynolds
Target Milestone: DS12.2Keywords: Triaged
Target Release: dirsrv-12.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: sync-to-jira
Fixed In Version: redhat-ds-12-9020020230425142149-1674d574 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-30 09:40:35 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 Vladimir Cech 2023-03-01 14:55:38 UTC
Description of problem:
In RHDS Console Server tab in Logging settings, when editing some number values of Rotation Policy and Deletion Policy and then returning to original value the Save Settings button is not deactivated. So it allows to post update with no values changed. This issue affects Access Logs, Audit Logs, Audit Failure Logs and Errors Logs.

Version-Release number of selected component (if applicable):
389-ds-base-2.2.6-1.module+el9dsrv+17949+63c5b04e.x86_64
cockpit-389-ds-2.2.6-1.module+el9dsrv+17949+63c5b04e.noarch

How reproducible:
Always

Steps to Reproduce:
1. Open RHDS Console, select server tab.
2. Select Access Log / Audit Log / Audit Failure Log / Errors Log in the menu on the left. 
3. Select Rotation Policy / Deletion Policy tab
4. Edit any value which allows incrementing or decrementing with + or - buttons.
5. Return edited value to it's original value.

Actual results:
Save Rotation / Deletion Settings is not deactivated after returning value to it's original value.

Expected results:
Deactivated Save Rotation / Deletion Settings after returning edited value to it's original value.

Additional info:

Comment 3 Vladimir Cech 2023-04-27 11:06:06 UTC
When following the steps to reproduce this bug, everything works as expected.

Comment 5 errata-xmlrpc 2023-05-30 09:40:35 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/RHBA-2023:3344