[jira] [Updated] (NIFI-12536) ParseDocument incorrectly converts byte array to String, result in text like b'...' instead of just ...
[ https://issues.apache.org/jira/browse/NIFI-12536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Witt updated NIFI-12536: Resolution: Fixed Status: Resolved (was: Patch Available) > 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: 20m > 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)
[jira] [Updated] (NIFI-12536) ParseDocument incorrectly converts byte array to String, result in text like b'...' instead of just ...
[ https://issues.apache.org/jira/browse/NIFI-12536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Payne updated NIFI-12536: -- Status: Patch Available (was: Open) > 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)