From 0590efba9a4402e6b456d00870bbe5c8ff069f6a Mon Sep 17 00:00:00 2001 From: spyroukon Date: Tue, 6 Sep 2022 13:55:05 +0000 Subject: [PATCH] CompatibilityClasses fix --- .../eu/dnetlib/repo/manager/service/RepositoryServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/eu/dnetlib/repo/manager/service/RepositoryServiceImpl.java b/src/main/java/eu/dnetlib/repo/manager/service/RepositoryServiceImpl.java index 84c3629..104e556 100644 --- a/src/main/java/eu/dnetlib/repo/manager/service/RepositoryServiceImpl.java +++ b/src/main/java/eu/dnetlib/repo/manager/service/RepositoryServiceImpl.java @@ -820,7 +820,7 @@ public class RepositoryServiceImpl implements RepositoryService { } //TODO TO BE REMOVED WHEN VOCABULARIES ARE UPDATED - if (mode.equalsIgnoreCase(Constants.REPOSITORY_MODE_RE3DATA) && !foundData) + if ((mode.equalsIgnoreCase("repository") || mode.equalsIgnoreCase(Constants.REPOSITORY_MODE_RE3DATA)) && !foundData) retMap.put("openaire2.0_data", "OpenAIRE Data (funded, referenced datasets)"); return retMap;