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

PutElasticsearchRecord incorrectly validates Index Operation for Expression Language input

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.13.0
    • 1.15.0
    • Core Framework
    • 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

        Issue Links

          Activity

            People

              Chris S Chris Sampson
              Chris S Chris Sampson
              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 10m
                  1h 10m