[
https://issues.apache.org/jira/browse/NIFI-13324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17855149#comment-17855149
]
ASF subversion and git services commented on NIFI-13324:
--------------------------------------------------------
Commit cb72cfde8a2640c1beb1270f96073928b817e497 in nifi's branch
refs/heads/main from Mark Payne
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=cb72cfde8a ]
NIFI-13324 Set FlowFile attributes for Python Processors on failure
In case a Python Processor routes a FlowFile to failure and returns attributes,
add those attributes to the 'original' FlowFile before routing to 'failure'
This closes #8943
Signed-off-by: David Handermann <[email protected]>
> Attributes skipped for Failure relationship in Python Processors
> ----------------------------------------------------------------
>
> Key: NIFI-13324
> URL: https://issues.apache.org/jira/browse/NIFI-13324
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Affects Versions: 2.0.0-M1, 2.0.0-M2, 2.0.0-M3
> Reporter: Asif Arman Rahman
> Assignee: Mark Payne
> Priority: Major
> Attachments: attributeFailureTest.py
>
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> Hello Team,
> Thank you for bringing the power of Python Processor to NiFi!
> It was discovered that attributes set to be written for `failure`
> relationship is skipped, and not written for some reason. But it works as
> expected for `success` and even custom defined relationships.
> I'll attach a simple processor for test purpose.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)