Project

General

Profile

Revision 6d3f64b8

ID6d3f64b89d2cf03a2c3bea10795228c31698e63f
Parent e2b14fdb
Child f3755e6f

Added by Katja Luther over 2 years ago

minor changes in excel import

View differences:

cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/excel/taxa/NormalExplicitImport.java
327 327
								String message = "Accepted/valid taxon could not be found. Please check referential integrity.";
328 328
								fireWarningEvent(message, state, 8);
329 329
							}else{
330
								acceptedTaxon.addSynonym(synonym, SynonymRelationshipType.SYNONYM_OF());
331
								getTaxonService().saveOrUpdate(acceptedTaxon);
330
							    if (parentId != 0){
331
							        //if no relation was defined in file skip relationship creation
332
							        acceptedTaxon.addSynonym(synonym, SynonymRelationshipType.SYNONYM_OF());
333
							        getTaxonService().saveOrUpdate(acceptedTaxon);
334
							    }
332 335
							}
333 336
						} catch (Exception e) {
334 337
							String message = "Unhandled exception (%s) occurred during synonym import/update";

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)