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

ASF GitHub Bot commented on NIFI-1152:
--------------------------------------

GitHub user joewitt opened a pull request:

    https://github.com/apache/nifi/pull/639

    NIFI-1152 NIFI-2117 Fixed standard session impl api adherance, mock session 
api adherance, corrected code and tests for script processors that had issues 
due to that process session bug

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/joewitt/incubator-nifi NIFI-1152

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/nifi/pull/639.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #639
    
----
commit cb5f09b4491c572708f8bf1d54f0d20a8964f091
Author: joewitt <[email protected]>
Date:   2016-07-13T03:16:19Z

    NIFI-1152 NIFI-2117 Fixed standard session impl api adherance, mock session 
api adherance, corrected code and tests for script processors that had issues 
due to that process session bug

----


> StandardProcessSession and MockProcessSession should handle transfer to 
> unregistered relationship correctly
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: NIFI-1152
>                 URL: https://issues.apache.org/jira/browse/NIFI-1152
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Tools and Build
>    Affects Versions: 1.0.0, 0.6.0, 0.7.0, 0.6.1
>            Reporter: Mark Payne
>            Assignee: Joseph Witt
>              Labels: beginner, newbie
>             Fix For: 1.0.0
>
>         Attachments: 
> 0001-Fix-for-NIFI-1838-NIFI-1152-Code-modification-for-ty.patch
>
>
> If a processor calls ProcessSession.transfer(flowFile, 
> NON_EXISTENT_RELATIONSHIP) the NiFi framework will throw a 
> FlowFileHandlingException. However, the Mock Framework simply allows it and 
> does not throw any sort of Exception. This needs to be addressed so that the 
> Mock framework functions the same way as the normal NiFi framework.



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

Reply via email to