You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Pierre Villard (Jira)" <ji...@apache.org> on 2020/01/07 19:03:01 UTC

[jira] [Updated] (NIFI-6963) ValidateRecord treats missing required array as valid

     [ https://issues.apache.org/jira/browse/NIFI-6963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pierre Villard updated NIFI-6963:
---------------------------------
    Fix Version/s: 1.11.0
       Resolution: Fixed
           Status: Resolved  (was: Patch Available)

> 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
>             Fix For: 1.11.0
>
>          Time Spent: 20m
>  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)