src/com/netscape/admin/dirserv/panel/PasswordPolicyPanel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit d2c5e8cd2fb53d642e09f200d93861b142f9615a Author: Mark Reynolds mreynolds@redhat.com Date: Tue Sep 27 11:31:37 2016 -0400
Ticket 48926 - fix "expiresin" entry definition
Bug Description: The "expiresin" component incorrectly set the model to "0", which causes unexpected behaviors in the account policy tab.
Fix Description: Set the model to "null" to trigger the correct behavior for this component type.
https://fedorahosted.org/389/ticket/48926
Reviewed by: nhosoi(Thanks!)
diff --git a/src/com/netscape/admin/dirserv/panel/PasswordPolicyPanel.java b/src/com/netscape/admin/dirserv/panel/PasswordPolicyPanel.java index 0050b39..1a94362 100644 --- a/src/com/netscape/admin/dirserv/panel/PasswordPolicyPanel.java +++ b/src/com/netscape/admin/dirserv/panel/PasswordPolicyPanel.java @@ -512,7 +512,7 @@ public class PasswordPolicyPanel extends BlankPanel {
DSEntrySet entries = getDSEntrySet();
- DSEntryExpire expiresInDSEntry = new DSEntryExpire("0", _rbExpiresIn); + DSEntryExpire expiresInDSEntry = new DSEntryExpire(null, _rbExpiresIn); entries.add(_policyspecdn, EXPIRES_ATTR_NAME, expiresInDSEntry); setComponentTable(_rbExpiresIn, expiresInDSEntry);
389-commits@lists.fedoraproject.org