[
https://issues.apache.org/jira/browse/NIFI-3522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15879360#comment-15879360
]
ASF subversion and git services commented on NIFI-3522:
-------------------------------------------------------
Commit 64379d2007ab7d6976783d104c451fdd8ff0556d in nifi's branch
refs/heads/master from [~markap14]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=64379d2 ]
NIFI-3522: When creating a clone of a FlowFile, ensure that we properly set the
'updated attributes' on the RepositoryRecord to all attributes on the FlowFile
itself, the same way we do when calling create(FlowFile)
This closes #1532
> If a Processor clones a FlowFile then adds attributes to or modifies the
> clone, a Provenance Event is generated with no FlowFile UUID.
> --------------------------------------------------------------------------------------------------------------------------------------
>
> Key: NIFI-3522
> URL: https://issues.apache.org/jira/browse/NIFI-3522
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Reporter: Mark Payne
> Assignee: Mark Payne
> Fix For: 1.2.0
>
>
> This can be recreated by adding a SplitText Processor to the canvas and then
> feeding it in a FlowFile that does not need to be split. In this case, a
> Provenance CLONE event is generated, and so is an ATTRIBUTES_MODIFIED event
> because after cloning the incoming FlowFile, we add attributes to the clone.
> If we then attempt to query provenance for events generated by this Processor
> - or use the Provenance Reporting Task - we will get an error indicating that
> the Provenance Event could not be generated because it has no FlowFile UUID.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)