Revision 19810681
Added by Patrick Plitzner over 7 years ago
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/annotatedlineeditor/AnnotatedLineEditor.java | ||
---|---|---|
164 | 164 |
// to create / save the entity may have been closed |
165 | 165 |
if(entity != null && ((AnnotatedLineDocumentProvider) getDocumentProvider()).getEntityCreator(getEditorInput()).savesEntity()) { |
166 | 166 |
getConversationHolder().bind(); |
167 |
//FIXME: why do we use IOccurrenceService here? is this generic? |
|
168 |
//because this method is only invoked by the handler which is used in the |
|
169 |
//specimen bulk editor. This is unsafe and should be refactored! |
|
167 | 170 |
Object object = CdmStore.getService(IOccurrenceService.class).load(((CdmBase)entity).getUuid()); |
168 | 171 |
entity = HibernateProxyHelper.deproxy(object); |
169 | 172 |
} |
Also available in: Unified diff
Add FIXME comment