You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Matt Burgess (Jira)" <ji...@apache.org> on 2022/04/08 16:32:00 UTC

[jira] [Created] (NIFI-9896) InvokeScriptedProcessor invalid when Module Directory is set

Matt Burgess created NIFI-9896:
----------------------------------

             Summary: InvokeScriptedProcessor invalid when Module Directory is set
                 Key: NIFI-9896
                 URL: https://issues.apache.org/jira/browse/NIFI-9896
             Project: Apache NiFi
          Issue Type: Bug
          Components: Extensions
            Reporter: Matt Burgess
             Fix For: 1.17.0, 1.16.1


A regression due to NIFI-7012 causes InvokeScriptedProcessor to initially be marked invalid if the Module Directory property is set. This is because of a copy-paste bug that sets the script body value to the module directory value, and when OnConfigurationRestored is called, the processor fails validation.

The code should correctly set the module directory variable to the value of the module directory property. A workaround is to change the Script Body property (add a newline, e.g.) and Apply the changes.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)