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 / UserEditorInput.java
index e9469eca101555416640a607d1cbfdbeb6d9e92d..bcbff535c0bf5d4714358ab9d172089b4df89f10 100644 (file)
@@ -63,7 +63,7 @@ public class UserEditorInput extends AbstractBulkEditorInput<User> {
        @Override
        public User save(User entity) {
            if(CdmStore.getCurrentSessionManager().isRemoting()) {
-               return CdmStore.getService(IUserService.class).merge(entity);
+               return CdmStore.getService(IUserService.class).merge(entity, true);
            } else {
                CdmStore.getService(IUserService.class).saveOrUpdate(entity);
                return entity;