Add remoting checks for merge, Move to merge call which returns updated transient...
[taxeditor.git] / eu.etaxonomy.taxeditor.bulkeditor / src / main / java / eu / etaxonomy / taxeditor / bulkeditor / input / AgentEditorInput.java
index c4c7854749c2c204e9b9d83d8cfec3b16ae8a917..cff075cc25788937175a05579a6445730732f74a 100644 (file)
@@ -148,7 +148,7 @@ public class AgentEditorInput extends AbstractBulkEditorInput<TeamOrPersonBase>
        @Override
        public TeamOrPersonBase save(TeamOrPersonBase entity) {
            if(CdmStore.getCurrentSessionManager().isRemoting()) {
-               return (TeamOrPersonBase) CdmStore.getService(IAgentService.class).merge(entity);
+               return (TeamOrPersonBase) CdmStore.getService(IAgentService.class).merge(entity, true);
            } else {
                CdmStore.getService(IAgentService.class).saveOrUpdate(entity) ;
                return entity;