You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2015/05/04 09:27:10 UTC
svn commit: r1677534 -
/directory/studio/trunk/plugins/openldap.common.ui/src/main/java/org/apache/directory/studio/openldap/common/ui/dialogs/LogLevelDialog.java
Author: elecharny
Date: Mon May 4 07:27:09 2015
New Revision: 1677534
URL: http://svn.apache.org/r1677534
Log:
Fixed an issue : the logLevel was not reinitialized when the ANY flag was seelected and unset, so the value was negative
Modified:
directory/studio/trunk/plugins/openldap.common.ui/src/main/java/org/apache/directory/studio/openldap/common/ui/dialogs/LogLevelDialog.java
Modified: directory/studio/trunk/plugins/openldap.common.ui/src/main/java/org/apache/directory/studio/openldap/common/ui/dialogs/LogLevelDialog.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/openldap.common.ui/src/main/java/org/apache/directory/studio/openldap/common/ui/dialogs/LogLevelDialog.java?rev=1677534&r1=1677533&r2=1677534&view=diff
==============================================================================
--- directory/studio/trunk/plugins/openldap.common.ui/src/main/java/org/apache/directory/studio/openldap/common/ui/dialogs/LogLevelDialog.java (original)
+++ directory/studio/trunk/plugins/openldap.common.ui/src/main/java/org/apache/directory/studio/openldap/common/ui/dialogs/LogLevelDialog.java Mon May 4 07:27:09 2015
@@ -364,6 +364,14 @@ public class LogLevelDialog extends Dial
}
else
{
+ if ( logLevelValue == LogLevel.ANY.getValue() )
+ {
+ // We cancel the ANY selection, so we have to set the LogLevelValue
+ // to 0, as it's currently -1
+ logLevelValue = 0;
+ }
+
+ // Now, check all the checkBox selections
if ( aclCheckbox.getSelection() )
{
logLevelValue |= LogLevel.ACL.getValue();