ticket #4655
authorKatja Luther <k.luther@bgbm.org>
Tue, 17 Feb 2015 08:47:12 +0000 (08:47 +0000)
committerKatja Luther <k.luther@bgbm.org>
Tue, 17 Feb 2015 08:47:12 +0000 (08:47 +0000)
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/input/entitycreator/TaxonCreator.java

index 526ed9d9614c2c02ec46d1b81a248f4a7167f79e..682421ec92d759cdd9924368ca0b09920c25a361 100644 (file)
@@ -30,9 +30,9 @@ public class TaxonCreator implements IEntityCreator<TaxonBase>{
                        nameCreator = new NameCreator();\r
                }\r
                if (Synonym.class.equals(key)){\r
-                       taxonBase = Synonym.NewInstance(nameCreator.createEntity(text), null);\r
+                       taxonBase = Synonym.NewInstance(nameCreator.createEntity(null, text), null);\r
                } else{\r
-                       taxonBase = Taxon.NewInstance(nameCreator.createEntity(text), null);\r
+                       taxonBase = Taxon.NewInstance(nameCreator.createEntity(null, text), null);\r
                }\r
                \r
                return taxonBase;\r