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