Revision cd19940f
Added by Katja Luther about 7 years ago
eu.etaxonomy.taxeditor.cdmlib/src/main/java/eu/etaxonomy/taxeditor/service/CdmServiceRequestExecutor.java | ||
---|---|---|
54 | 54 |
RemoteInvocationResult rir = fromCache(currentRemoteInvocation); |
55 | 55 |
|
56 | 56 |
if(rir == null) { |
57 |
logger.info("Remote invoking : " + currentRemoteInvocation.getMethodName() + "@" + config.getServiceUrl()); |
|
58 |
rir = super.doExecuteRequest(config, baos); |
|
57 |
|
|
58 |
if (!(currentRemoteInvocation.getMethodName() == null) && !(config.getServiceUrl() == null)){ |
|
59 |
// logger.info("Remote invoking : " + currentRemoteInvocation.getMethodName() + "@" + config.getServiceUrl()); |
|
60 |
} |
|
61 |
rir = super.doExecuteRequest(config, baos); |
|
59 | 62 |
if(rir.getValue() != null && !rir.hasException()) { |
63 |
if (currentRemoteInvocation == null){ |
|
64 |
logger.debug("return RemoteInvocationResult without caching" ); |
|
65 |
return rir; |
|
66 |
} |
|
60 | 67 |
if(cachableMethods.contains(currentRemoteInvocation.getMethodName())) { |
61 | 68 |
rir = new RemoteInvocationResult(cdmEntitySessionManager.load(rir.getValue(), true)); |
62 | 69 |
} else if(rir.getValue() instanceof UpdateResult){ |
Also available in: Unified diff
fix details view for authorship cache and referencing objects view