You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Eric Secules (Jira)" <ji...@apache.org> on 2023/10/02 05:51:00 UTC
[jira] [Updated] (NIFI-12158) NiFi Mock Process Session Does Not Preserve Attributes when Using Wirte
[ https://issues.apache.org/jira/browse/NIFI-12158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric Secules updated NIFI-12158:
--------------------------------
Affects Version/s: 1.23.2
> NiFi Mock Process Session Does Not Preserve Attributes when Using Wirte
> -----------------------------------------------------------------------
>
> Key: NIFI-12158
> URL: https://issues.apache.org/jira/browse/NIFI-12158
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Affects Versions: 1.23.2
> Reporter: Eric Secules
> Assignee: Eric Secules
> Priority: Minor
>
> The MockProcessSession behaves differently from the StandardProcessSession when it comes to altering the flowfile attributes. Some attribute modifications do not seem to take hold. This is because a couple of the write methods implemented in MockProcessSession return a modification of the flowfile passed in rather than the intended behaviour outlined in NIFI-3860 -- a modification of the most recent version of the flowfile passed in. It also updates the currentVersions map with the modified version of the flowfile passed in which might not be current.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)