Project

General

Profile

« Previous | Next » 

Revision da78db78

Added by Patrick Plitzner over 7 years ago

  • bind conversation before saving specimen

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/dataimport/SaveImportedSpecimenAction.java
35 35
                        data = ((GbifResponse) item.getData()).getDerivedUnitFacade().innerFieldUnit();
36 36
                    }
37 37
                    if(data instanceof SpecimenOrObservationBase){
38
//                        dataImportView.getConversationHolder().bind();
39
//                        CdmStore.getService(IReferenceService.class).saveOrUpdate(((SpecimenOrObservationBase) data).getSources());
38
                        dataImportView.getConversationHolder().bind();
40 39
                        CdmStore.getService(IOccurrenceService.class).saveOrUpdate((SpecimenOrObservationBase<?>) data);
41 40
                        dataImportView.getConversationHolder().commit(true);
42 41
                    }

Also available in: Unified diff