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

InvokeScriptedProcessor invalid when Module Directory is set

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.17.0, 1.16.1
    • Extensions
    • None

    Description

      A regression due to NIFI-7012 causes InvokeScriptedProcessor to initially be marked invalid if the Module Directory property is set. This is because of a copy-paste bug that sets the script body value to the module directory value, and when OnConfigurationRestored is called, the processor fails validation.

      The code should correctly set the module directory variable to the value of the module directory property. A workaround is to change the Script Body property (add a newline, e.g.) and Apply the changes.

      Attachments

        Issue Links

          Activity

            People

              mattyb149 Matt Burgess
              mattyb149 Matt Burgess
              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 - 20m
                  20m