Daniel Stieglitz created NIFI-15331:
---------------------------------------

             Summary: ExecuteScript migration of properties not working as 
expected.
                 Key: NIFI-15331
                 URL: https://issues.apache.org/jira/browse/NIFI-15331
             Project: Apache NiFi
          Issue Type: Bug
            Reporter: Daniel Stieglitz


The work in NIFI-15317 was meant to correct the bug introduced with NIFI-15108 
with te scripting components. While the fix worked for components
 - InvokeScriptedProcessor
 - ScriptedReportingTask
 - ScriptedLookupService
 - ScriptedReader
 - ScriptedRecordSetWriter
 - ScriptedRecordSink
 - SimpleScriptedLookupService

it did not work for the ExecuteScript processor

For 2.5.0 I have an ExecuteScript processor whose properties are:
{{}}
{code:java}
"properties": {
"Script File": "someFile",
"Script Engine": "Groovy"
}{code}
When upgrading to 2.7.0 the properties are

{{}}
{code:java}
"properties": {
"Script File": "someFile",
"Script Language": "Clojure",
"Script Engine": "Groovy"
}{code}
After upgrading to 2.7.1 the properties are

{{}}
{code:java}
"properties": {
"Script File": "someFile",
"Script Engine": "Clojure"
}{code}
For 2.7.1 the {{"Script Engine"}}  property value should be {{"Groovy"}}

{{}}

{{}}

{{}}



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

Reply via email to