Mark Payne created NIFI-12536:
---------------------------------
Summary: 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
Fix For: 2.0.0
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)