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())
|
.over(item.getReference())
|
||||||
.using(() -> this.validatorFactory.validator(ReferencePersist.ReferenceWithoutTypePersistValidator.class)),
|
.using(() -> this.validatorFactory.validator(ReferencePersist.ReferenceWithoutTypePersistValidator.class)),
|
||||||
this.refSpec()
|
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)
|
.on(FieldPersist._externalIdentifier)
|
||||||
.over(item.getExternalIdentifier())
|
.over(item.getExternalIdentifier())
|
||||||
.using(() -> this.validatorFactory.validator(ExternalIdentifierPersist.PersistValidator.class))
|
.using(() -> this.validatorFactory.validator(ExternalIdentifierPersist.PersistValidator.class))
|
||||||
|
|
Loading…
Reference in New Issue