diff --git a/dmp-migration-tool/web/src/main/java/eu/old/eudat/migration/PlanBlueprintXmlMigrationService.java b/dmp-migration-tool/web/src/main/java/eu/old/eudat/migration/PlanBlueprintXmlMigrationService.java index e157593af..cefd2e6c2 100644 --- a/dmp-migration-tool/web/src/main/java/eu/old/eudat/migration/PlanBlueprintXmlMigrationService.java +++ b/dmp-migration-tool/web/src/main/java/eu/old/eudat/migration/PlanBlueprintXmlMigrationService.java @@ -118,6 +118,7 @@ public class PlanBlueprintXmlMigrationService { data.setLabel(itm.getLabel()); data.setOrdinal(itm.getOrdinal()); data.setHasTemplates(itm.getHasTemplates()); + data.setPrefillingSourcesEnabled(false); if (!this.conventionService.isListNullOrEmpty(itm.getFields())) { data.setFields(new ArrayList<>()); for (FieldModel fieldModel : itm.getFields()) { @@ -126,6 +127,7 @@ public class PlanBlueprintXmlMigrationService { } if (!this.conventionService.isListNullOrEmpty(itm.getDescriptionTemplates())) { + data.setPrefillingSourcesEnabled(true); data.setDescriptionTemplates(new ArrayList<>()); for (DescriptionTemplate descriptionTemplate : itm.getDescriptionTemplates()) { data.getDescriptionTemplates().add(this.buildDescriptionTemplateEntity(descriptionTemplate, descriptionTemplateGroupMap));