directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r1428837 - in /directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor: ReplicationDetailsPage.java ReplicationMasterDetailsBlock.java
Date Fri, 04 Jan 2013 13:19:47 GMT
Author: pamarcelot
Date: Fri Jan  4 13:19:47 2013
New Revision: 1428837

URL: http://svn.apache.org/viewvc?rev=1428837&view=rev
Log:
Removed the '+' attribute (All operational attributes) from the list of the replicated attributes
as it is mandatory for the replication and automatically added by the server.

Modified:
    directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/ReplicationDetailsPage.java
    directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/ReplicationMasterDetailsBlock.java

Modified: directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/ReplicationDetailsPage.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/ReplicationDetailsPage.java?rev=1428837&r1=1428836&r2=1428837&view=diff
==============================================================================
--- directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/ReplicationDetailsPage.java
(original)
+++ directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/ReplicationDetailsPage.java
Fri Jan  4 13:19:47 2013
@@ -1150,6 +1150,12 @@ public class ReplicationDetailsPage impl
                 allAttributesCheckbox.setSelection( false );
             }
 
+            // All Operational Attributes
+            if ( attributesList.contains( SchemaConstants.ALL_OPERATIONAL_ATTRIBUTES ) )
+            {
+                attributesList.remove( SchemaConstants.ALL_OPERATIONAL_ATTRIBUTES );
+            }
+
             attributesTableViewer.refresh();
         }
 

Modified: directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/ReplicationMasterDetailsBlock.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/ReplicationMasterDetailsBlock.java?rev=1428837&r1=1428836&r2=1428837&view=diff
==============================================================================
--- directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/ReplicationMasterDetailsBlock.java
(original)
+++ directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/ReplicationMasterDetailsBlock.java
Fri Jan  4 13:19:47 2013
@@ -269,7 +269,6 @@ public class ReplicationMasterDetailsBlo
         consumerBean.setReplRefreshInterval( 60 * 1000 );
         consumerBean.setReplRefreshNPersist( true );
         consumerBean.addReplAttributes( SchemaConstants.ALL_USER_ATTRIBUTES );
-        consumerBean.addReplAttributes( SchemaConstants.ALL_OPERATIONAL_ATTRIBUTES );
         consumerBean.setSearchBaseDn( "dc=example,dc=com" );
 
         return consumerBean;



Mime
View raw message