[ https://issues.apache.org/jira/browse/NIFI-12536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17799523#comment-17799523 ]
ASF subversion and git services commented on NIFI-12536: -------------------------------------------------------- Commit 28976186351fca90178a3c6e4c125568a270cba2 in nifi's branch refs/heads/main from Mark Payne [ https://gitbox.apache.org/repos/asf?p=nifi.git;h=2897618635 ] NIFI-12536: This closes #8178. Used proper method for converting byte array to String Signed-off-by: Joseph Witt <joew...@apache.org> > ParseDocument incorrectly converts byte array to String, result in text like > b'...' instead of just ... > ------------------------------------------------------------------------------------------------------- > > Key: NIFI-12536 > URL: https://issues.apache.org/jira/browse/NIFI-12536 > Project: Apache NiFi > Issue Type: Bug > Components: Extensions > Affects Versions: 2.0.0-M1 > Reporter: Mark Payne > Assignee: Mark Payne > Priority: Trivial > Fix For: 2.0.0 > > Time Spent: 10m > Remaining Estimate: 0h > > Documents that are produced from ParseDocument use > {{{}str(flowfile.getContentsAsBytes(){}}}) when it should use > {{{}flowfile.getContentsAsBytes().decode('utf-8'){}}}. > This results in text such as {{One Two Three}} to be produces as {{b'One Two > Three'}} -- This message was sent by Atlassian Jira (v8.20.10#820010)