Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-11493

Property descriptors which modifies classpaths are not resolved with default values

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0-M1, 1.22.0
    • None
    • None

    Description

      When a PropertyDescriptor is enabled to dynamically modify the classpath e.g.

      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();

      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.

      Attachments

        Issue Links

          Activity

            People

              Lehel44 Lehel Boér
              Lehel44 Lehel Boér
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h