FINERACT-1724: Client search API fix when external ID is null
This commit is contained in:
committed by
Arnold Gálovics
parent
81a41e7b7e
commit
7c80bf2ffc
+2
@@ -42,6 +42,8 @@ public class ExternalIdJsonConverter implements JsonConverter<ExternalId> {
|
||||
public void convertToJson(ExternalId value, JsonGenerator generator) throws IOException {
|
||||
if (value != null && !value.isEmpty()) {
|
||||
generator.writeString(value.getValue());
|
||||
} else {
|
||||
generator.writeNull();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user