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

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

Commit 6f0ca8730411d01e5c5c2f845a5387020aee60ba in nifi's branch 
refs/heads/main from Matt Burgess
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=6f0ca87304 ]

NIFI-10387: Fixed negative logic bug in scripted components (#6325)



> Scripted components incorrectly marking whether a script needs to be reloaded
> -----------------------------------------------------------------------------
>
>                 Key: NIFI-10387
>                 URL: https://issues.apache.org/jira/browse/NIFI-10387
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: Matt Burgess
>            Assignee: Matt Burgess
>            Priority: Major
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> In many of the scripted components (InvokeScriptedProcessor, scripted 
> controller services, etc.) there is a negative logic bug when setting the 
> scriptNeedsReload variable to indicate that the script should be reloaded. 
> Specifically, if the script does not load successfully, scriptNeedsReload is 
> set false when it should be true.  In most/all cases, this error does not 
> manifest because there is also a check to make sure there is an actual 
> lookupService object retrieved from the (successfully loaded) script. However 
> there may be situations in which this negative logic bug could manifest and 
> thus it should be fixed.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to