This commit is contained in:
Efstratios Giannopoulos 2024-05-28 11:13:31 +03:00
parent 578d705412
commit 1725628b57
1 changed files with 1 additions and 1 deletions

View File

@ -1537,7 +1537,7 @@ public class DescriptionServiceImpl implements DescriptionService {
FieldPersist persist = new FieldPersist(); 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(); ReferenceTypeDataModel referenceTypeDataModel = (ReferenceTypeDataModel) descriptionTemplateField.getData();
if (referenceTypeDataModel != null){ if (referenceTypeDataModel != null){
if (!this.conventionService.isListNullOrEmpty(model.getReferences())) if (!this.conventionService.isListNullOrEmpty(model.getReferences()))