From e7bbb148d9ce3e25e857569e3282d89497082b51 Mon Sep 17 00:00:00 2001 From: sgiannopoulos Date: Fri, 24 May 2024 10:22:32 +0300 Subject: [PATCH] migration fixes --- .../model/persist/descriptionproperties/FieldPersist.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/backend/core/src/main/java/org/opencdmp/model/persist/descriptionproperties/FieldPersist.java b/backend/core/src/main/java/org/opencdmp/model/persist/descriptionproperties/FieldPersist.java index 0931fe362..580e18ee8 100644 --- a/backend/core/src/main/java/org/opencdmp/model/persist/descriptionproperties/FieldPersist.java +++ b/backend/core/src/main/java/org/opencdmp/model/persist/descriptionproperties/FieldPersist.java @@ -180,11 +180,6 @@ public class FieldPersist { .iff(()-> !this.isNull(item.getTextListValue()) && (fieldType.equals(FieldType.INTERNAL_ENTRIES_DMPS) || fieldType.equals(FieldType.INTERNAL_ENTRIES_DESCRIPTIONS))) .must(() -> item.getTextListValue().stream().allMatch(this::isUUID)) .failOn(FieldPersist._textListValue).failWith(this.messageSource.getMessage("Validation_UnexpectedValue", new Object[]{FieldPersist._textListValue}, LocaleContextHolder.getLocale())), - this.navSpec() - .iff(() -> FieldType.isTagType(fieldType) && !this.isListNullOrEmpty(item.getTags())) - .on(FieldPersist._tags) - .over(item.getTags()) - .using((itm) -> this.validatorFactory.validator(TagPersist.TagPersistValidator.class)), this.navSpec() .iff(() -> FieldType.isReferenceType(fieldType) && !this.isListNullOrEmpty(item.getReferences())) .on(FieldPersist._references)