nifi-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Burgess (Jira)" <j...@apache.org>
Subject [jira] [Updated] (NIFI-6963) ValidateRecord treats missing required array as valid
Date Fri, 20 Dec 2019 17:53:00 GMT

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

Matt Burgess updated NIFI-6963:
-------------------------------
    Status: Patch Available  (was: In Progress)

> 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)

Mime
View raw message