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 / ReferenceEditorInput.java
index ea8598b67b1742711062f184bf8c071be87bbecd..32df06a57bba415052508f4c43776c4341b41e0f 100644 (file)
@@ -140,7 +140,7 @@ public class ReferenceEditorInput extends AbstractBulkEditorInput<Reference> {
        @Override
     public Reference save(Reference entity) {
            if(CdmStore.getCurrentSessionManager().isRemoting()) {
-               return CdmStore.getService(IReferenceService.class).merge(entity);
+               return CdmStore.getService(IReferenceService.class).merge(entity, true);
            } else {
                CdmStore.getService(IReferenceService.class).saveOrUpdate(entity);
                return entity;