Project

General

Profile

« Previous | Next » 

Revision c0fb722d

Added by Katja Luther about 6 years ago

improve deduplication handling and saving in bulkeditor

View differences:

eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/e4/BulkEditorE4.java
67 67
import eu.etaxonomy.taxeditor.model.IPartContentHasMedia;
68 68
import eu.etaxonomy.taxeditor.model.IPartContentHasSupplementalData;
69 69
import eu.etaxonomy.taxeditor.operation.IPostOperationEnabled;
70
import eu.etaxonomy.taxeditor.store.CdmStore;
71 70
import eu.etaxonomy.taxeditor.workbench.part.IE4SavablePart;
72 71

  
73 72
/**
......
260 259

  
261 260
	    List<CdmBase> saveCandidates = getEditorInput().getSaveCandidates();
262 261

  
263
	    if (!saveCandidates.isEmpty()){
264
	        CdmStore.getService(saveCandidates.get(0)).merge(saveCandidates, true);
265
	    }
262

  
266 263
        dirty.setDirty(false);
267 264
        getEditorInput().resetSaveCandidates();
268 265
        getEditorInput().dispose();

Also available in: Unified diff