@Override
public Group save(Group entity) {
if(CdmStore.getCurrentSessionManager().isRemoting()) {
- return CdmStore.getService(IGroupService.class).merge(entity, true) ;
+ return CdmStore.getService(IGroupService.class).merge(entity, true).getMergedEntity();
} else {
CdmStore.getService(IGroupService.class).saveOrUpdate(entity);
return entity;