bug fix
This commit is contained in:
parent
578d705412
commit
1725628b57
|
@ -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()))
|
||||||
|
|
Loading…
Reference in New Issue