refId instead of refAuthor is stored now in title
authorem.lee <em.lee@localhost>
Thu, 26 Aug 2010 15:52:50 +0000 (15:52 +0000)
committerem.lee <em.lee@localhost>
Thu, 26 Aug 2010 15:52:50 +0000 (15:52 +0000)
cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/faunaEuropaea/FaunaEuropaeaUsersImport.java

index 50fc0cde87f74c2f00a77a0c77679c38d07006b6..a78061f2180e343462dcfe5fc6a94b921a82a4e5 100644 (file)
@@ -153,7 +153,7 @@ public class FaunaEuropaeaUsersImport extends FaunaEuropaeaImportBase {
                                TeamOrPersonBase<Team> author = null;\r
                                reference = ReferenceFactory.newGeneric();\r
 \r
-                               reference.setTitle(refAuthor);\r
+                               reference.setTitle("" + refId); // This unique key is needed to get a hand on this Reference in PesiTaxonExport\r
                                reference.setDatePublished(ImportHelper.getDatePublished(year));\r
                                \r
                                if (!authors.containsKey(refAuthor)) {\r