Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-6963

ValidateRecord treats missing required array as valid

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.11.0
    • Extensions
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              mattyb149 Matt Burgess
              mattyb149 Matt Burgess
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m