external identifier fix for description finalization
This commit is contained in:
parent
b14e20edff
commit
9f9e6f6db9
|
@ -170,7 +170,7 @@ public class FieldPersist {
|
|||
.over(item.getReference())
|
||||
.using(() -> this.validatorFactory.validator(ReferencePersist.ReferenceWithoutTypePersistValidator.class)),
|
||||
this.refSpec()
|
||||
.iff(() -> FieldType.isExternalIdentifierType(fieldType) && !this.isNull(item.getExternalIdentifier()))
|
||||
.iff(() -> FieldType.isExternalIdentifierType(fieldType) && !this.isNull(item.getExternalIdentifier()) && DescriptionStatus.Finalized.equals(this.status) && isVisible && required)
|
||||
.on(FieldPersist._externalIdentifier)
|
||||
.over(item.getExternalIdentifier())
|
||||
.using(() -> this.validatorFactory.validator(ExternalIdentifierPersist.PersistValidator.class))
|
||||
|
|
Loading…
Reference in New Issue