- set ABCD import config to also import media attached to specimens as MediaSpecimen
authorPatric Plitzner <p.plitzner@bgbm.org>
Wed, 10 Sep 2014 13:14:48 +0000 (13:14 +0000)
committerPatric Plitzner <p.plitzner@bgbm.org>
Wed, 10 Sep 2014 13:14:48 +0000 (13:14 +0000)
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/dataimport/SpecimenImportView.java

index 264e23b8469ebe1fa80c6903e6571dc1fed0410e..751f00135968eb7b6c3a452e123d1924db5614af 100644 (file)
@@ -69,6 +69,7 @@ public class SpecimenImportView extends DataImportView<SpecimenOrObservationBase
             TransientCdmRepository repo =
                     new TransientCdmRepository(CdmStore.getCurrentApplicationConfiguration());
             configurator.setCdmAppController(repo);
             TransientCdmRepository repo =
                     new TransientCdmRepository(CdmStore.getCurrentApplicationConfiguration());
             configurator.setCdmAppController(repo);
+            configurator.setDoAddMediaAsMediaSpecimen(true);
 
             CdmDefaultImport<Abcd206ImportConfigurator> importer = new CdmDefaultImport<Abcd206ImportConfigurator>();
             importer.invoke(configurator);
 
             CdmDefaultImport<Abcd206ImportConfigurator> importer = new CdmDefaultImport<Abcd206ImportConfigurator>();
             importer.invoke(configurator);