[ 
https://issues.apache.org/jira/browse/NIFI-37?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14589090#comment-14589090
 ] 

Mark Payne commented on NIFI-37:
--------------------------------

The attached patch should resolve this issue.

It includes updates to unit tests that broke as a result of the changes. 
However, I think this is okay because the unit tests were in the framework 
(which depended on classes that are in the 'private/internal API' such as the 
Mock Framework's SharedSessionState class, that should not be used by 
developers of extension points) or failed because the unit tests were using 
reflection to inspect member variables (which is very brittle, so I updated 
code to use more proper APIs).

> If provenance receive/create/fork/join/clone event registered against 
> flowfile not created in session...
> --------------------------------------------------------------------------------------------------------
>
>                 Key: NIFI-37
>                 URL: https://issues.apache.org/jira/browse/NIFI-37
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>            Reporter: Joseph Witt
>            Assignee: Mark Payne
>             Fix For: 0.2.0
>
>         Attachments: 
> 0001-NIFI-37-Ensure-that-prov-events-that-are-emitted-are.patch
>
>
> If provenance receive/create/fork/join/clone event registered against 
> flowfile not created in session should throw FlowFileHandlingException
> **Need to ensure this is done in the Mock Framework as well**



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to