[
https://issues.apache.org/jira/browse/NIFI-4367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Patrice Freydiere updated NIFI-4367:
------------------------------------
Description:
InvokeScriptedProcessor pass his ValidationContext to the inner script,
validate call
InvokeScriptedProcessor Line 465 : final
Collection<ValidationResult> instanceResults = instance.validate(context);
The problem is that the invokedscript pass the ScriptFile PropertyDescriptor
that is validated, if the script derived from the
AbstractConfigurableComponent, (because the AbstractConfigurableComponent
validate all the context properties).
The context should be refined to remove the InvokeScriptedProcessor Properties.
was:
InvokeScriptedProcessor pass his ValidationContext to the inner script,
validate call
InvokeScriptedProcessor Line 465 : final
Collection<ValidationResult> instanceResults = instance.validate(context);
The problem is that the invokedscript pass the ScriptFile PropertyDescriptor
that is validated, if the script derived from the
AbstractConfigurableComponent, (because the AbstractConfigurableComponent
validate all the context properties).
The context should be refined to remove the InvokeScriptedProcessor Properties.
> InvokedScriptedProcessor
> ------------------------
>
> Key: NIFI-4367
> URL: https://issues.apache.org/jira/browse/NIFI-4367
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Affects Versions: 1.3.0, 1.4.0
> Environment: Linux / Windows
> Reporter: Patrice Freydiere
> Labels: InvokeScriptedProcessor, validation
> Attachments:
> 0001-NIFI-4367-Fix-on-processor-for-permit-deriving-scrip.patch
>
>
> InvokeScriptedProcessor pass his ValidationContext to the inner script,
> validate call
> InvokeScriptedProcessor Line 465 : final
> Collection<ValidationResult> instanceResults = instance.validate(context);
>
> The problem is that the invokedscript pass the ScriptFile PropertyDescriptor
> that is validated, if the script derived from the
> AbstractConfigurableComponent, (because the AbstractConfigurableComponent
> validate all the context properties).
> The context should be refined to remove the InvokeScriptedProcessor
> Properties.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)