[
https://issues.apache.org/jira/browse/NIFI-13808?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bob Paulin updated NIFI-13808:
------------------------------
Attachment: image-2024-09-26-11-08-08-377.png
> Cloned Provenance Events reflect updated Content and Attributes rather than
> time of clone
> -----------------------------------------------------------------------------------------
>
> Key: NIFI-13808
> URL: https://issues.apache.org/jira/browse/NIFI-13808
> Project: Apache NiFi
> Issue Type: Bug
> Reporter: Bob Paulin
> Priority: Minor
> Attachments: image-2024-09-26-10-58-58-093.png,
> image-2024-09-26-11-00-37-895.png, image-2024-09-26-11-00-43-937.png,
> image-2024-09-26-11-01-29-311.png, image-2024-09-26-11-02-08-687.png,
> image-2024-09-26-11-02-20-538.png, image-2024-09-26-11-08-08-377.png
>
>
> When cloned events are viewed in Data Provenance I would expect both the Flow
> File Content and Attributes to reflect the state of the flow file that was
> cloned at the time of cloning.
>
> Example in the Python FlowFileTransformProxy [1] a flow file is cloned. When
> the cloned flow file leaves the processor the content remains content of the
> original flow file.
>
> HOWEVER when viewed in the Data Provenance Viewer of the processor the cloned
> event reflects the content and attributes of the flow file that left the
> processor and was modified following the clone event
> CLONE EVENT in Processor Provenance View
> !image-2024-09-26-11-00-43-937.png!
> Attributes reflect modified file not original
> !image-2024-09-26-11-01-29-311.png!
> Content reflects Modified Flow File not File at the time of cloning
> !image-2024-09-26-11-02-20-538.png!
> [1]
> https://github.com/apache/nifi/blob/main/nifi-extension-bundles/nifi-py4j-extension-bundle/nifi-py4j-bridge/src/main/java/org/apache/nifi/python/processor/FlowFileTransformProxy.java
--
This message was sent by Atlassian Jira
(v8.20.10#820010)