Project

General

Profile

« Previous | Next » 

Revision a66eea38

Added by Andreas Müller over 7 years ago

ref #6307 remove cdmserver/ from contextpath

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/model/MessagingUtils.java
194 194
                server = activeCdmSource.getServer();
195 195
                if(activeCdmSource instanceof CdmRemoteSource){
196 196
                    contextPath = ((CdmRemoteSource) activeCdmSource).getContextPath();
197
                    if (contextPath != null && contextPath.startsWith("cdmserver/")){
198
                    	contextPath = contextPath.substring("cdmserver/".length());
199
                    }
197 200
                }
198 201
            }
199 202

  
......
202 205
        }
203 206
        contextInfo.add("login : " + login);
204 207
        contextInfo.add("editor version : " + version);
205
        contextInfo.add("server : " + server + " / " + name + (CdmUtils.isNotBlank(contextPath)?" / "+contextPath:""));
208
        contextInfo.add("server : " + server + " (" + name + ")" + (CdmUtils.isNotBlank(contextPath)?" / "+contextPath:""));
206 209
        contextInfo.add("schema version : " + schemaVersion);
207 210
        contextInfo.add("os : " + System.getProperty("os.name")+" "+System.getProperty("os.version")+" "+System.getProperty("os.arch"));
208 211
        contextInfo.add("java : "+System.getProperty("java.version"));

Also available in: Unified diff