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

When ReportingTask gets the value of a property where default is not populated in provided PropertyDescriptor, gets null

    XMLWordPrintableJSON

Details

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

    Description

      If a Reporting Task calls ReportingContext.getProperty(PropertyDescriptor) and that PropertyDescriptor does not have a 'default value' populated, then the PropertyValue returned by getProperty has a null value, even if the PropertyDescriptor returned by getSupportedPropertyDescriptors does have a default value populated. This is not how Processors work. Controller Services and Reporting Tasks should both get the default value provided by the PropertyDescriptor that is returned by getSupportedPropertyDescriptors

      Attachments

        Issue Links

          Activity

            People

              pvillard Pierre Villard
              markap14 Mark Payne
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: