Project

General

Profile

« Previous | Next » 

Revision 76fe3732

Added by Cherian Mathew over 8 years ago

#5161 Fix problem of new entity not refreshed

View differences:

eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/input/ReferenceEditorInput.java
138 138

  
139 139
	/** {@inheritDoc} */
140 140
	@Override
141
    public boolean save(Reference entity) {
141
    public Reference save(Reference entity) {
142 142
	    if(CdmStore.getCurrentSessionManager().isRemoting()) {
143
	        return CdmStore.getService(IReferenceService.class).merge(entity) != null;
143
	        return CdmStore.getService(IReferenceService.class).merge(entity);
144 144
	    } else {
145
	        return CdmStore.getService(IReferenceService.class).saveOrUpdate(entity) != null;
145
	        CdmStore.getService(IReferenceService.class).saveOrUpdate(entity);
146
	        return entity;
146 147
	    }
147 148
	}
148 149

  

Also available in: Unified diff