mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

jvergara
12.39.2009 9f31b55669037de744e5b7ca3da5493abbebeff5
Fix a warning message displayed to the user when all the base DN's are disabled but not the replication server.
Display the message only if the replication server is actually configured in the server.
2 files modified
5 ■■■■■ changed files
opendj-sdk/opends/src/messages/messages/admin_tool.properties 2 ●●● patch | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/tools/dsreplication/ReplicationCliMain.java 3 ●●●● patch | view | raw | blame | history
opendj-sdk/opends/src/messages/messages/admin_tool.properties
@@ -676,7 +676,7 @@
 binary copy.
INFO_REPLICATION_DISABLE_SUFFIX_PROMPT=Disable replication on base DN %s?
INFO_REPLICATION_DISABLE_ALL_SUFFIXES_KEEP_REPLICATION_SERVER=You have chosen \
 to disable replication on all the replicated servers of '%s'.  If you want \
 to disable replication on all the replicated base DN's of '%s'.  If you want \
 also the replication server (changelog and replication port) to be disabled \
 you must also specify the '--%s' or '--%s' argument.
INFO_REPLICATION_DISABLE_ALL_SUFFIXES_DISABLE_REPLICATION_SERVER=You have \
opendj-sdk/opends/src/server/org/opends/server/tools/dsreplication/ReplicationCliMain.java
@@ -3571,7 +3571,8 @@
        }
        if (!isInteractive() && !uData.disableReplicationServer() &&
            !uData.disableAll() && disableAllBaseDns(ctx, uData))
            !uData.disableAll() && disableAllBaseDns(ctx, uData) &&
            hasReplicationPort(ctx))
        {
          // Inform the user that the replication server will not be disabled.
          // Inform also of the user of the disableReplicationServerArg