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

ASF subversion and git services commented on NIFI-3614:
-------------------------------------------------------

Commit 5daeba6e039d465b3ff19b5523b4c10d53475c83 in nifi's branch 
refs/heads/master from Joe Percivall
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=5daeba6 ]

NIFI-3614 Adding "return" statement to HandleHttpResponse when statusCode is 
not a number

Signed-off-by: Pierre Villard <pierre.villard...@gmail.com>

This closes #1598.


> HandleHttpResponse doesn't properly handle "not number" status codes
> --------------------------------------------------------------------
>
>                 Key: NIFI-3614
>                 URL: https://issues.apache.org/jira/browse/NIFI-3614
>             Project: Apache NiFi
>          Issue Type: Bug
>    Affects Versions: 0.7.1, 1.1.1
>            Reporter: Joseph Percivall
>            Assignee: Joseph Percivall
>            Priority: Minor
>
> HandleHttpResponse has a check for "isNumber" for the statusCode but the 
> resulting block doesn't have a return statement[1] so it just continues to 
> attempt to execute and hits a "not most up to date version of flowfile" 
> exception.
> [1] 
> https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/HandleHttpResponse.java#L138



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to