[
https://issues.apache.org/jira/browse/NIFI-6963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17009997#comment-17009997
]
ASF subversion and git services commented on NIFI-6963:
-------------------------------------------------------
Commit f4ef45678eff4ca0612f03ff4de3e5d2e29e4e2a in nifi's branch
refs/heads/master from Matt Burgess
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=f4ef456 ]
NIFI-6963: Fix ValidateRecord handling of missing required array fields
Signed-off-by: Pierre Villard <[email protected]>
This closes #3948.
> 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
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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)