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/04/12 17:23:25 UTC

svn commit: r1673019 - /directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/databases/DatabasesDetailsPage.java

Author: elecharny
Date: Sun Apr 12 15:23:24 2015
New Revision: 1673019

URL: http://svn.apache.org/r1673019
Log:
Add the new synrepl consumer in the existing list, instead of replacing the existing one

Modified:
    directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/databases/DatabasesDetailsPage.java

Modified: directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/databases/DatabasesDetailsPage.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/databases/DatabasesDetailsPage.java?rev=1673019&r1=1673018&r2=1673019&view=diff
==============================================================================
--- directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/databases/DatabasesDetailsPage.java (original)
+++ directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/databases/DatabasesDetailsPage.java Sun Apr 12 15:23:24 2015
@@ -1342,8 +1342,9 @@ public class DatabasesDetailsPage implem
                 {
                     String newSyncReplValue = dialog.getSyncRepl().toString();
 
-                    databaseWrapper.getDatabase().getOlcSyncrepl().add( newSyncReplValue );
+                    databaseWrapper.getDatabase().addOlcSyncrepl( newSyncReplValue );
                     refreshReplicationConsumersTableViewer();
+                    
                     replicationConsumersTableViewer.setSelection( new StructuredSelection( newSyncReplValue ) );
                     setEditorDirty();
                 }