Revision e62f0e9d
Added by Cherian Mathew almost 9 years ago
eu.etaxonomy.taxeditor.cdmlib/src/main/java/eu/etaxonomy/taxeditor/service/CdmServiceRequestExecutor.java | ||
---|---|---|
43 | 43 |
if(currentRemoteInvocation.getMethodName().equals("merge")) { |
44 | 44 |
rir = new RemoteInvocationResult(cdmEntitySessionManager.load(rir.getValue(), true)); |
45 | 45 |
} else if(rir.getValue() instanceof UpdateResult){ |
46 |
//FIXME:Remoting if the new handler / operation architecture works then this is not required |
|
47 |
// UpdateResult result = (UpdateResult)rir.getValue(); |
|
48 |
// if(result.isOk()){ |
|
49 |
// //FIXME:Remoting replace with call to CdmApplicationState if required |
|
50 |
// } |
|
46 |
UpdateResult result = (UpdateResult)rir.getValue(); |
|
47 |
if(result.isOk()){ |
|
48 |
cdmEntitySessionManager.load(result.getUpdatedObjects(), true); |
|
49 |
} |
|
51 | 50 |
} else { |
52 | 51 |
rir = new RemoteInvocationResult(cdmEntitySessionManager.load(rir.getValue(), false)); |
53 | 52 |
} |
Also available in: Unified diff
Fix initialisation of mock session owner