[ 
https://issues.apache.org/jira/browse/NIFI-12158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eric Secules updated NIFI-12158:
--------------------------------
    Component/s: Tools and Build
                     (was: Core Framework)

> NiFi Mock Process Session Does Not Preserve Attributes when Using Write
> -----------------------------------------------------------------------
>
>                 Key: NIFI-12158
>                 URL: https://issues.apache.org/jira/browse/NIFI-12158
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Tools and Build
>    Affects Versions: 1.23.2
>            Reporter: Eric Secules
>            Assignee: Eric Secules
>            Priority: Minor
>             Fix For: 2.0.0, 1.24.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 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)

Reply via email to