From 201bd1e311cf81874860aa77af5eaeb3abc5673c Mon Sep 17 00:00:00 2001 From: Mikhail Podolskiy Date: Thu, 15 Aug 2024 15:38:20 +0200 Subject: [PATCH] #24 geographicDescription is required, put default value --- .../resources/gbif-eml-profile-template/eml-dataset-1.3.ftl | 2 ++ .../src/main/resources/templates/eml-ipt.ftl | 2 ++ 2 files changed, 4 insertions(+) diff --git a/gbif-metadata-profile-eml/src/main/resources/gbif-eml-profile-template/eml-dataset-1.3.ftl b/gbif-metadata-profile-eml/src/main/resources/gbif-eml-profile-template/eml-dataset-1.3.ftl index 46c020e..fe4f5e0 100644 --- a/gbif-metadata-profile-eml/src/main/resources/gbif-eml-profile-template/eml-dataset-1.3.ftl +++ b/gbif-metadata-profile-eml/src/main/resources/gbif-eml-profile-template/eml-dataset-1.3.ftl @@ -245,6 +245,8 @@ packageId=<#if useDoiAsIdentifier && dataset.doi?has_content>"${dataset.doi.doiN <#if geocoverage.description?has_content> ${geocoverage.description} + <#else> + N/A <#if geocoverage.boundingBox?has_content> diff --git a/gbif-metadata-profile-eml/src/main/resources/templates/eml-ipt.ftl b/gbif-metadata-profile-eml/src/main/resources/templates/eml-ipt.ftl index 7e70cfe..3820952 100644 --- a/gbif-metadata-profile-eml/src/main/resources/templates/eml-ipt.ftl +++ b/gbif-metadata-profile-eml/src/main/resources/templates/eml-ipt.ftl @@ -324,6 +324,8 @@ <#if (geocoverage.getDescription())?has_content> ${geocoverage.description} + <#else> + N/A ${geocoverage.boundingCoordinates.min.longitude!}