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

Redundant validation of Dynamic Properties

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.14.0
    • Core Framework
    • None

    Description

      The validate method of AbstractConfigurableComponent was modified recently. Where it use to loop through only supported property descriptors (via getSupportedPropertyDescriptors method call), it now loops through all descriptors in the context (via ValidationContext.getProperties.keySet() call). This includes dynamic properties. Therefore, the subsequent validation of dynamic properties is redundant, and can produce duplicate validation errors.

      Attachments

        Issue Links

          Activity

            People

              markbean Mark Bean
              markbean Mark Bean
              Votes:
              0 Vote for this issue
              Watchers:
              3 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