Matt Burgess created NIFI-9596:
----------------------------------

             Summary: ExecuteScript gives syntax error with Jython when Module 
Directory is set
                 Key: NIFI-9596
                 URL: https://issues.apache.org/jira/browse/NIFI-9596
             Project: Apache NiFi
          Issue Type: Bug
          Components: Extensions
            Reporter: Matt Burgess


If the Module Directory property is set for a Jython script, the first line of 
the script is at the end of the last module (sys.path.append) line due to a 
missing newline, which can cause a syntax error. The workaround is to add a 
blank line as the first line of the script. NIFI-8625 introduced this 
regression.



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

Reply via email to