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

PutElasticsearchRecord incorrectly validates Index Operation for Expression Language input

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.13.0
    • Fix Version/s: 1.15.0
    • Component/s: Core Framework
    • Labels:
      None

      Description

      Index Operation property was added to PutElasticsearchRecord as part of NIFI-7474. IT accepts Expression Language (FlowFile Attributes) but also specifes a list of allowed values - this means that use of Expression Language can never be valid for the property.

      A different validation should be used if Expression Language is to be allowed such that the processor accepts Expression Language (and later checks it's a valid operation type after evaluating the expression against the invoming FlowFile) or the value is one of the allowed operations.

        Attachments

          Activity

            People

            • Assignee:
              Chris S Chris Sampson
              Reporter:
              Chris S Chris Sampson

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

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

                  Issue deployment