Fixed issue when creating DMP through the wizard

This commit is contained in:
George Kalampokis 2020-06-11 17:59:53 +03:00
parent 121cb1429e
commit c5f4701f97
1 changed files with 1 additions and 1 deletions

View File

@ -230,7 +230,7 @@ public class Field implements Comparable, PropertiesModelBuilder, ViewStyleDefin
@Override
public void toMap(Map<String, Object> fieldValues) {
if (this.value != null) {
if (this.viewStyle.getRenderStyle().equals("datasetIdentifier")) {
if (this.viewStyle != null && this.viewStyle.getRenderStyle().equals("datasetIdentifier")) {
ObjectMapper mapper = new ObjectMapper();
String valueString = null;
try {