From a73eef6529204f05119f42af8063ca60df0e3d10 Mon Sep 17 00:00:00 2001 From: sgiannopoulos Date: Fri, 8 Mar 2024 18:36:37 +0200 Subject: [PATCH] migration fix --- .../eudat/migration/DescriptionTemplateXmlMigrationService.java | 1 + 1 file changed, 1 insertion(+) diff --git a/dmp-migration-tool/web/src/main/java/eu/old/eudat/migration/DescriptionTemplateXmlMigrationService.java b/dmp-migration-tool/web/src/main/java/eu/old/eudat/migration/DescriptionTemplateXmlMigrationService.java index 4849c2e91..b12fae81e 100644 --- a/dmp-migration-tool/web/src/main/java/eu/old/eudat/migration/DescriptionTemplateXmlMigrationService.java +++ b/dmp-migration-tool/web/src/main/java/eu/old/eudat/migration/DescriptionTemplateXmlMigrationService.java @@ -437,6 +437,7 @@ public class DescriptionTemplateXmlMigrationService { try { return UUID.fromString(section.getPage()).equals(UUID.fromString(page.getId())); } catch (Exception e){ + if (section.getPage().toLowerCase(Locale.ROOT).equals(page.getId().toLowerCase(Locale.ROOT))) return true; try { return Integer.parseInt(section.getPage().replace("page_", "")) == page.getOrdinal(); } catch (Exception e1){