migration fixes
This commit is contained in:
parent
8340b32559
commit
e7bbb148d9
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue