[
https://issues.apache.org/jira/browse/NIFI-10449?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Handermann updated NIFI-10449:
------------------------------------
Fix Version/s: 1.20.0
Resolution: Fixed
Status: Resolved (was: Patch Available)
> ScriptedLookupService does not reload the script when disabled then enabled
> ---------------------------------------------------------------------------
>
> Key: NIFI-10449
> URL: https://issues.apache.org/jira/browse/NIFI-10449
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions
> Reporter: Matt Burgess
> Assignee: Matt Burgess
> Priority: Major
> Fix For: 1.20.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> Currently a ScriptedLookupService does not reload the script after it has
> been disabled. This can cause changes to external values not to be picked up
> by the controller service when it is re-enabled.
> For example, consider a ScriptedLookupService that loads a lookup table from
> a parameter. Configure the parameter with some sample mappings and verify it
> works. Then update the parameter to specify different values. The
> LookupService keeps returning the original values, but the script should have
> been re-compiled/evaluated after the controller service was disabled.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)