X-Git-Url: https://dev.e-taxonomy.eu/gitweb/taxeditor.git/blobdiff_plain/5291be06467aaace8e6a8bef365178a8d3ba2dd8..1c12d52c2c0561218ed5a0f4d0a10b35cfdebcf8:/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/model/MessagingUtils.java diff --git a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/model/MessagingUtils.java b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/model/MessagingUtils.java index 7133c7271..a7eb78fac 100644 --- a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/model/MessagingUtils.java +++ b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/model/MessagingUtils.java @@ -194,6 +194,9 @@ public class MessagingUtils { server = activeCdmSource.getServer(); if(activeCdmSource instanceof CdmRemoteSource){ contextPath = ((CdmRemoteSource) activeCdmSource).getContextPath(); + if (contextPath != null && contextPath.startsWith("cdmserver/")){ + contextPath = contextPath.substring("cdmserver/".length()); + } } } @@ -202,7 +205,7 @@ public class MessagingUtils { } contextInfo.add("login : " + login); contextInfo.add("editor version : " + version); - contextInfo.add("server : " + server + " / " + name + (CdmUtils.isNotBlank(contextPath)?" / "+contextPath:"")); + contextInfo.add("server : " + server + " (" + name + ")" + (CdmUtils.isNotBlank(contextPath)?" / "+contextPath:"")); contextInfo.add("schema version : " + schemaVersion); contextInfo.add("os : " + System.getProperty("os.name")+" "+System.getProperty("os.version")+" "+System.getProperty("os.arch")); contextInfo.add("java : "+System.getProperty("java.version"));