From 1725628b573d082bb3fdbad3ed014fb394fcef71 Mon Sep 17 00:00:00 2001 From: sgiannopoulos Date: Tue, 28 May 2024 11:13:31 +0300 Subject: [PATCH] bug fix --- .../opencdmp/service/description/DescriptionServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/core/src/main/java/org/opencdmp/service/description/DescriptionServiceImpl.java b/backend/core/src/main/java/org/opencdmp/service/description/DescriptionServiceImpl.java index b3653aec1..50b9b70a9 100644 --- a/backend/core/src/main/java/org/opencdmp/service/description/DescriptionServiceImpl.java +++ b/backend/core/src/main/java/org/opencdmp/service/description/DescriptionServiceImpl.java @@ -1537,7 +1537,7 @@ public class DescriptionServiceImpl implements DescriptionService { FieldPersist persist = new FieldPersist(); - if (descriptionTemplateField.getData().getFieldType().equals(FieldType.REFERENCE_TYPES)){ + if (descriptionTemplateField.getData().getFieldType().equals(org.opencdmp.commonmodels.enums.FieldType.REFERENCE_TYPES)){ ReferenceTypeDataModel referenceTypeDataModel = (ReferenceTypeDataModel) descriptionTemplateField.getData(); if (referenceTypeDataModel != null){ if (!this.conventionService.isListNullOrEmpty(model.getReferences()))