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

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

Commit 8545c4e1e1cdc193d00cac53109c9aaf5f5913c4 in nifi's branch 
refs/heads/support/nifi-1.16 from Matt Burgess
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=8545c4e1e1 ]

NIFI-9896: Fixed bug with overwriting Script Body value in 
InvokeScriptedProcessor

This closes #5948

Signed-off-by: Mike Thomsen <[email protected]>


> 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
>            Assignee: Matt Burgess
>            Priority: Major
>             Fix For: 1.17.0, 1.16.1
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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)

Reply via email to