[ 
https://issues.apache.org/jira/browse/NIFI-11493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Peter Turcsanyi resolved NIFI-11493.
------------------------------------
    Fix Version/s: 2.0.0
                   1.22.0
       Resolution: Fixed

> Property descriptors which modifies classpaths are not resolved with default 
> values
> -----------------------------------------------------------------------------------
>
>                 Key: NIFI-11493
>                 URL: https://issues.apache.org/jira/browse/NIFI-11493
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: Lehel Boér
>            Assignee: Lehel Boér
>            Priority: Major
>             Fix For: 2.0.0, 1.22.0
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> When a PropertyDescriptor is enabled to dynamically modify the classpath e.g.
> {code:java}
> static final PropertyDescriptor URLS = new PropertyDescriptor.Builder()
> .name("URLs to Load")
> .description("URLs to load onto the classpath")
> .required(false)
> .defaultValue("lib/bootstrap/commons-lang3-3.12.0.jar")
> .dynamicallyModifiesClasspath(true)
> .identifiesExternalResource(ResourceCardinality.MULTIPLE, ResourceType.URL, 
> ResourceType.FILE, ResourceType.DIRECTORY)
> .build();{code}
> If the property is not set with a current value (URL), the additional 
> classpath URL will not be added to the classloader by using the property's 
> default value.



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

Reply via email to