Matt Burgess created NIFI-10387:
-----------------------------------
Summary: 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
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)