You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Vesa Sokka (Jira)" <ji...@apache.org> on 2020/09/14 11:06:00 UTC

[jira] [Created] (NIFI-7806) ValidateRecord does not handle XML with nested array of records correctly

Vesa Sokka created NIFI-7806:
--------------------------------

             Summary: ValidateRecord does not handle XML with nested array of records correctly
                 Key: NIFI-7806
                 URL: https://issues.apache.org/jira/browse/NIFI-7806
             Project: Apache NiFi
          Issue Type: Bug
            Reporter: Vesa Sokka
         Attachments: nested_xml_failing_validation.xml

When attempting to validate XML with nested array of records, we get the following error:

 

"Record #1 is invalid due to:
MapRecord[\{ids=MapRecord[{TestRecordID=2103686}]}] is not a valid value for /TestRecord: Value is of type org.apache.nifi.serialization.record.MapRecord but was expected to be of type ARRAY[RECORD]"

 

Template that reproduces the error is attached

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)