[
https://issues.apache.org/jira/browse/NIFI-1152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15374217#comment-15374217
]
ASF GitHub Bot commented on NIFI-1152:
--------------------------------------
GitHub user joewitt opened a pull request:
https://github.com/apache/nifi/pull/638
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/638.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 #638
----
commit 05a0bf84970183afbce4d39bc34047fb2951ce89
Author: joewitt <[email protected]>
Date: 2016-07-13T02:20:33Z
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)