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

[jira] [Comment Edited] (NIFI-11784) XML to JSON conversion loses data (ConvertRecord processor - XMLReader and JSONRecordSetWriter)

    [ https://issues.apache.org/jira/browse/NIFI-11784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17740784#comment-17740784 ] 

Sean Hunter edited comment on NIFI-11784 at 7/6/23 8:10 PM:
------------------------------------------------------------

[^735fcbc4-13ee-4b9e-bee0-91eb9084cb7e.xml]

A download of the XML flowfile from Nifi, but sanitized.

ETA: This is distinct from the one provided in screenshots, but will reproduce the issue nonetheless.


was (Author: JIRAUSER299395):
[^735fcbc4-13ee-4b9e-bee0-91eb9084cb7e.xml]

A download of the XML flowfile from Nifi, but sanitized.

> XML to JSON conversion loses data (ConvertRecord processor - XMLReader and JSONRecordSetWriter)
> -----------------------------------------------------------------------------------------------
>
>                 Key: NIFI-11784
>                 URL: https://issues.apache.org/jira/browse/NIFI-11784
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: 1.22.0
>         Environment: Tested on Windows with ConsumeWindowsEventLog, particularly obvious (100% failure rate) on ForwardedEvents channel in a WEF/WEC setup
>            Reporter: Sean Hunter
>            Priority: Major
>         Attachments: 735fcbc4-13ee-4b9e-bee0-91eb9084cb7e.xml, image-2023-07-06-14-42-46-700.png, image-2023-07-06-14-45-15-939.png, image-2023-07-06-15-04-04-992.png, image-2023-07-06-15-04-53-194.png
>
>
> Screenshot of event going into ConvertRecord processor in XML with valid data in SubjectUserName field (one example of data that's lost):
> !image-2023-07-06-14-42-46-700.png!
> Screenshot of the same flowfile once processed, showing that SubjectUserName field has lost information:
> !image-2023-07-06-14-45-15-939.png!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)