Description of problem:
Issue regarding the value fields on DS console LDBM Plug-in Settings pane.
Version-Release number of selected component (if applicable):
DS 7.1 SP1
Steps to Reproduce:
1. Open DS console - Configuration -> Database Settings -> LDBM Plug-in Settings
2. Input fields# 1, 2 and 4 ... the max allowed input value by the UI is
3. Type that in and press Save
An error dialog pops up saying "LDAP server is unwilling to perform..."
However, if press OK and attempt to Save again, DS will save the bad value this
time without error.
The UI check should disable the Save button if input is out of bound. The
look-through limit (field #2) is supposed to be 2147483647. Not 100% sure about
field #1 and #4.
Created attachment 326639 [details]
Created attachment 326670 [details]
cvs commit log
Reviewed by: nkinder (Thanks!)
Fix Description: The code was unconditionally resetting the field before checking the result of the modify operation. The correct way to do it is to reset the field only after the modify operation succeeded. I create a Vector of fields that are being modified, and only reset them if the modify succeeded.
Platforms tested: RHEL5
Flag Day: no
Doc impact: no
*** Bug 306201 has been marked as a duplicate of this bug. ***
Fix verified: DS 8.1 RHEL 5
UI continues to error if you try to save the bad value for fields 1,2 and 4 and the value is not changed in the directory server's configuration.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.