You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Matt Burgess (Jira)" <ji...@apache.org> on 2019/12/20 17:39:00 UTC
[jira] [Created] (NIFI-6963) ValidateRecord treats missing required
array as valid
Matt Burgess created NIFI-6963:
----------------------------------
Summary: ValidateRecord treats missing required array as valid
Key: NIFI-6963
URL: https://issues.apache.org/jira/browse/NIFI-6963
Project: Apache NiFi
Issue Type: Bug
Components: Extensions
Reporter: Matt Burgess
Assignee: Matt Burgess
ValidateRecord does not mark a missing (but required) array field as invalid. This is caused by the missing field being issued an empty array as a default value, even if one is not defined in the schema.
If no default value for an array field is specified, then the default value should be null rather than an empty array.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)