#5007 : Add remoting handler / operations for the taxon navigator
[taxeditor.git] / eu.etaxonomy.taxeditor.cdmlib / src / main / java / eu / etaxonomy / taxeditor / service / CdmServiceRequestExecutor.java
index d2b19e9ebdd6facd362fe3090028b1d309e0f400..2aaa92957b730633e21adc6b361faef2f6bf8143 100644 (file)
@@ -43,10 +43,11 @@ public class CdmServiceRequestExecutor extends CdmAuthenticatedHttpInvokerReques
                            if(currentRemoteInvocation.getMethodName().equals("merge")) {
                                rir = new RemoteInvocationResult(cdmEntitySessionManager.load(rir.getValue(), true));
                            } else if(rir.getValue() instanceof UpdateResult){
-                               UpdateResult result = (UpdateResult)rir.getValue();
-                               if(result.isOk()){
-                                   cdmEntitySessionManager.update(result.getCdmEntity(), result.getUpdatedObjects());
-                               }
+                             //FIXME:Remoting if the new handler / operation architecture works then this is not required
+//                             UpdateResult result = (UpdateResult)rir.getValue();
+//                             if(result.isOk()){
+//                                 //FIXME:Remoting replace with call to CdmApplicationState if required
+//                             }
                            } else {
                                rir = new RemoteInvocationResult(cdmEntitySessionManager.load(rir.getValue(), false));
                            }